mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-17 02:13:06 -06:00
DCD-1123: Add optional termination protection.
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
business_unit: "Engineering-Server"
|
||||
resource_owner: "{{ ansible_user_id }}"
|
||||
aws_region: "us-west-2"
|
||||
ec2_termination_protection: True
|
||||
|
||||
roles:
|
||||
- { role: aws-vpc }
|
||||
- { 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_disk_size: "512"
|
||||
ec2_keypair: "taskcat-ci-key"
|
||||
|
||||
ec2_termination_protection: False
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user