Skip to content

Commit bf9ea0f

Browse files
committed
terraform ecs update to use_ecs_tag
1 parent 41f30a1 commit bf9ea0f

File tree

1 file changed

+2
-2
lines changed
  • ansible/roles/deploy-ecs-proxies/tasks

1 file changed

+2
-2
lines changed

ansible/roles/deploy-ecs-proxies/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@
7272
when: item.state == 'file'
7373

7474
- name: terraform plan
75-
shell: "make -C {{ out_dir }}/terraform clean plan args='-no-color -lock-timeout=30m -out tfplan.out'" # noqa 305
75+
shell: "TF_VAR_use_ecs_tag={{ use_ecs_tag }} make -C {{ out_dir }}/terraform clean plan args='-no-color -lock-timeout=30m -out tfplan.out'" # noqa 305
7676
register: tfplan
7777
failed_when: tfplan.rc not in (0, 2)
7878
when: not do_not_terraform
7979

8080
- name: terraform apply
81-
shell: "make -C {{ out_dir }}/terraform apply-plan args='-no-color -lock-timeout=30m --auto-approve tfplan.out'" # noqa 305
81+
shell: "TF_VAR_use_ecs_tag={{ use_ecs_tag }} make -C {{ out_dir }}/terraform apply-plan args='-no-color -lock-timeout=30m --auto-approve tfplan.out'" # noqa 305
8282
register: tfapply
8383
when: not do_not_terraform
8484

0 commit comments

Comments
 (0)