Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ansible/roles/create-api-deployment-pre-reqs/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
when: item.state == 'file'

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

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

Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/deploy-ecs-proxies/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@
when: item.state == 'file'

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
when: not do_not_terraform

- name: terraform destroy
shell: "make -C {{ out_dir }}/terraform apply args='-no-color --auto-approve' tf-command=destroy" # noqa 305
shell: "make -C {{ out_dir }}/terraform apply args='-no-color -lock-timeout=30m --auto-approve' tf-command=destroy" # noqa 305
register: tfapply
when: not do_not_terraform

Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/destroy-ecs-proxies/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
when: not do_not_terraform

- name: terraform destroy
shell: "make -C {{ out_dir }}/terraform apply args='-no-color --auto-approve' tf-command=destroy" # noqa 305
shell: "make -C {{ out_dir }}/terraform apply args='-no-color -lock-timeout=30m --auto-approve' tf-command=destroy" # noqa 305
register: tfapply
when: not do_not_terraform

Expand Down