mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
Merged in DCD-890-fix-variable-name-typo-in-write-tags (pull request #79)
DCD-890 fix variable name typo in write tags * DCD-869: Change missing variable reference in write-tags * DCD-869: Add commit and timestamp prefix to tags generated from ansible to be consistent with tags in templates Approved-by: Steve Smith <ssmith@atlassian.com>
This commit is contained in:
@@ -33,13 +33,13 @@
|
||||
ResourceId: "{{ ec2_autoscaling_group }}"
|
||||
PropagateAtLaunch: true
|
||||
Key: "atl:deployment:commit-id"
|
||||
Value: "{{ git_out.stdout }}"
|
||||
Value: "COMMIT: {{ git_out.stdout }}"
|
||||
|
||||
- ResourceType: "auto-scaling-group"
|
||||
ResourceId: "{{ ec2_autoscaling_group }}"
|
||||
PropagateAtLaunch: true
|
||||
Key: "atl:deployment:first-run-timestamp"
|
||||
Value: "{{ ansible_date_time.iso8601 }}"
|
||||
Value: "TIMESTAMP: {{ ansible_date_time.iso8601 }}"
|
||||
|
||||
- ResourceType: "auto-scaling-group"
|
||||
ResourceId: "{{ ec2_autoscaling_group }}"
|
||||
@@ -63,8 +63,8 @@
|
||||
region: "{{ ansible_ec2_placement_region }}"
|
||||
resource: "{{ ansible_ec2_instance_id }}"
|
||||
tags:
|
||||
"atl:deployment:commit-id": "{{ git_out.stdout }}"
|
||||
"atl:deployment:first-run-timestamp": "{{ ansible_date_time.iso8601 }}"
|
||||
"atl:deployment:commit-id": "COMMIT: {{ git_out.stdout }}"
|
||||
"atl:deployment:first-run-timestamp": "TIMESTAMP: {{ ansible_date_time.iso8601 }}"
|
||||
"atl:deployment:is-stack-restored": "{{ atl_restore_required_tag_value.0 }}"
|
||||
ignore_errors: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user