mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2026-02-01 16:53:14 -06:00
DCD-1123: Add optional termination protection.
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
business_unit: "Engineering-Server"
|
business_unit: "Engineering-Server"
|
||||||
resource_owner: "{{ ansible_user_id }}"
|
resource_owner: "{{ ansible_user_id }}"
|
||||||
aws_region: "us-west-2"
|
aws_region: "us-west-2"
|
||||||
|
ec2_termination_protection: True
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- { role: aws-vpc }
|
- { role: aws-vpc }
|
||||||
- { role: ec2-instance, vars: { instance_name: "Jira Software Migration Source Instance" } }
|
- { role: ec2-instance, vars: { instance_name: "Jira Software Migration Source Instance" } }
|
||||||
- { role: ec2-instance, vars: { instance_name: "Jira ServiceDesk Migration Source Instance" } }
|
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ ec2_ami_description: "Amazon Linux 2 AMI 2.0.* x86_64 HVM gp2"
|
|||||||
ec2_type: "t3a.xlarge"
|
ec2_type: "t3a.xlarge"
|
||||||
ec2_disk_size: "512"
|
ec2_disk_size: "512"
|
||||||
ec2_keypair: "taskcat-ci-key"
|
ec2_keypair: "taskcat-ci-key"
|
||||||
|
ec2_termination_protection: False
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
group_id: "{{ sg.group_id }}"
|
group_id: "{{ sg.group_id }}"
|
||||||
vpc_subnet_id: "{{ subnet.subnet.id }}"
|
vpc_subnet_id: "{{ subnet.subnet.id }}"
|
||||||
assign_public_ip: True
|
assign_public_ip: True
|
||||||
|
termination_protection: "{{ ec2_termination_protection }}"
|
||||||
volumes:
|
volumes:
|
||||||
- device_name: /dev/xvda
|
- device_name: /dev/xvda
|
||||||
volume_type: gp2
|
volume_type: gp2
|
||||||
|
|||||||
Reference in New Issue
Block a user