diff --git a/infra/api/service/main.tf b/infra/api/service/main.tf index 3913a8627..7fdbddc3e 100644 --- a/infra/api/service/main.tf +++ b/infra/api/service/main.tf @@ -148,8 +148,8 @@ module "service" { local.service_config.extra_environment_variables, { "ENVIRONMENT" : var.environment_name }, { "DEPLOY_TIMESTAMP" : timestamp() }, - deploy_github_sha != null ? { "DEPLOY_GITHUB_SHA" : var.deploy_github_sha } : {}, - deploy_github_ref != null ? { "DEPLOY_GITHUB_REF" : var.deploy_github_ref } : {} + var.deploy_github_sha != null ? { "DEPLOY_GITHUB_SHA" : var.deploy_github_sha } : {}, + var.deploy_github_ref != null ? { "DEPLOY_GITHUB_REF" : var.deploy_github_ref } : {} ) secrets = concat(