Usually /etc/timezone is a text file containing the timezone, at least that's how it works on most non-embedded linux distros. However, on Amazon Linux(4.14.72-68.55.amzn1.x86_64) it's actually an empty directory.
$ ls -la /etc/{timezone,localtime}
-rw-r--r-- 1 root root 118 Aug 11 01:27 /etc/localtime
/etc/timezone:
total 8
drwxr-xr-x 2 root root 4096 Oct 22 09:53 .
drwxr-xr-x 93 root root 4096 Oct 22 09:53 ..
$ ll /usr/share/zoneinfo/
total 416
drwxr-xr-x 2 root root 4096 Aug 11 01:26 Africa
drwxr-xr-x 6 root root 4096 Aug 11 01:26 America
drwxr-xr-x 2 root root 4096 Aug 11 01:26 Antarctica
drwxr-xr-x 2 root root 4096 Aug 11 01:26 Arctic
drwxr-xr-x 2 root root 4096 Aug 11 01:26 Asia
drwxr-xr-x 2 root root 4096 Aug 11 01:26 Atlantic
drwxr-xr-x 2 root root 4096 Aug 11 01:26 Australia
drwxr-xr-x 2 root root 4096 Aug 11 01:26 Brazil
drwxr-xr-x 2 root root 4096 Aug 11 01:26 Canada
-rw-r--r-- 1 root root 2102 Apr 4 2018 CET
drwxr-xr-x 2 root root 4096 Aug 11 01:26 Chile
-rw-r--r-- 1 root root 2294 Apr 4 2018 CST6CDT
-rw-r--r-- 2 root root 2411 Apr 4 2018 Cuba
-rw-r--r-- 1 root root 1876 Apr 4 2018 EET
[...]
What would be the equivalent for scripts that rely on reading /etc/timezone? Is it safe to delete the dir and create a file with <Region>/<City>?