From 2be1052603d3079ec28ace5be3b853cfb289110b Mon Sep 17 00:00:00 2001 From: iuri aranda Date: Wed, 16 Feb 2022 16:50:09 +0100 Subject: [PATCH] Fix vault container name in dependency --- ecs-web/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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