Skip to content

How to set ECS Fargate timezone

0

I have tasks running on ecs fargate that I would like to modify the timezone from UTC to my actual timezone, the docs do not specify how this can be done.

asked 2 years ago560 views

1 Answer
0
Accepted Answer

I think this can be changed by setting "TZ" in the environment variable in the ECS task definition.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#container_definition_environment you may also check the base image documentation for how to change it.
https://wiki.alpinelinux.org/wiki/Setting_the_timezone

AWS

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.