Skip to content

Commit 6e324ed

Browse files
committed
aws ecr terraform
1 parent f733d84 commit 6e324ed

File tree

1 file changed

+2
-1
lines changed
  • ansible/roles/deploy-ecs-proxies/templates/terraform

1 file changed

+2
-1
lines changed

ansible/roles/deploy-ecs-proxies/templates/terraform/locals.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ ecs_service = [
5454
'${local.account_id}.dkr.ecr.eu-west-2.amazonaws.com/'
5555
+ service_id + '_' + container.name
5656
+ (
57-
"{{ '${' }}var.use_ecs_tag && container.name == \"canary_canary-api\" ? \":ecs-${build_label}\" : \":${build_label}\"{{ '}' }}"
57+
":ecs-{{ build_label }}" if var.use_ecs_tag and container.name == "canary_canary-api"
58+
else ":{{ build_label }}"
5859
)
5960
}
6061
)

0 commit comments

Comments
 (0)