Skip to content

Commit ef20ed6

Browse files
committed
Fix an issue where the pg driver was confused about the current timezone
Signed-off-by: Irving Popovetsky <[email protected]>
1 parent db0899b commit ef20ed6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

terraform/python_backend/main.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ resource "aws_ecs_task_definition" "python_backend" {
9494
"name" : "DB_ENGINE",
9595
"value" : "django.db.backends.postgresql"
9696
},
97+
{
98+
"name" : "TZ",
99+
"value" : "UTC"
100+
},
101+
{
102+
"name" : "PGTZ",
103+
"value" : "UTC"
104+
},
97105
]
98106

99107
secrets = local.secrets_env

0 commit comments

Comments
 (0)