Merged in DCD-697-additional-cw-logs (pull request #31)

DCD-697: Adds ansible and cfn logs to cloudwatch

* DCD-697: Adds ansible and cfn logs to cloudwatch

* DCD-697: Adds provisioning logs to a separarte log group. Adds a test to ensure provisioining logs exist

* DCD-697: Refers to files, not directory, for provisioning log groups

* DCD-697: Adds a comma between log groups

* DCD-697: Removes redundant comma between the 2 log groups

Approved-by: Steve Smith <ssmith@atlassian.com>
Approved-by: Adam Brokes <abrokes@atlassian.com>
This commit is contained in:
Varun Arbatti
2019-10-11 05:04:22 +00:00
parent 564f06522c
commit 0711c75dab
4 changed files with 14 additions and 1 deletions

View File

@@ -19,7 +19,14 @@
"log_stream_name": "{instance_id}"
}
{% endfor %}
{% for path in atl_provisioner_log_locations %}
{{ comma() }}
{
"file_path": "{{ path }}",
"log_group_name": "{{ atl_aws_provisioning_log_group }}",
"log_stream_name": "{instance_id}"
}
{% endfor %}
]
}
}