DCD-1123: Add optional termination protection.

This commit is contained in:
Steve Smith
2020-10-21 10:22:18 +11:00
parent 1b56944f97
commit df0d681369
3 changed files with 3 additions and 2 deletions

View File

@@ -24,6 +24,7 @@
group_id: "{{ sg.group_id }}"
vpc_subnet_id: "{{ subnet.subnet.id }}"
assign_public_ip: True
termination_protection: "{{ ec2_termination_protection }}"
volumes:
- device_name: /dev/xvda
volume_type: gp2