diff --git a/ecs-web/main.tf b/ecs-web/main.tf index a2f93ef..d37f26e 100644 --- a/ecs-web/main.tf +++ b/ecs-web/main.tf @@ -77,7 +77,7 @@ data "template_file" "concourse_web_task_template" { db_container_dependency = var.auto_create_db ? ",{ \"containerName\": \"create_db\", \"condition\": \"COMPLETE\" }" : "" volumes_from_vault_auth = var.vault_server_url != null ? ",{ \"sourceContainer\": \"vault_auth\" }" : "" vault_command_args = var.vault_server_url != null ? "--vault-client-token=`cat /concourse_vault/token`" : "" - vault_container_dependency = var.vault_server_url != null ? ",{ \"containerName\": \"create_db\", \"condition\": \"SUCCESS\" }" : "" + vault_container_dependency = var.vault_server_url != null ? ",{ \"containerName\": \"vault_auth\", \"condition\": \"SUCCESS\" }" : "" concourse_extra_args = var.concourse_extra_args != null ? var.concourse_extra_args : "" concourse_extra_env = var.concourse_extra_env != null ? join("", data.template_file.concourse_extra_env.*.rendered) : "" concourse_default_build_logs_to_retain = var.concourse_default_build_logs_to_retain