Skip to content

Commit 94d5fe4

Browse files
committed
Add missing variable to task definition
1 parent b2eba94 commit 94d5fe4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

terraform/data_replication/variables.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ locals {
7070
{
7171
name = "DB_NAME"
7272
value = aws_rds_cluster.cluster.database_name
73+
},
74+
{
75+
name = "RAILS_ENV"
76+
value = var.environment == "production" ? "production" : "staging"
7377
}
7478
]
7579
task_secrets = [

0 commit comments

Comments
 (0)