aws-samples / aws-batch-runtime-monitoring

Serverless application to monitor an AWS Batch architecture through dashboards.
MIT No Attribution
58 stars 16 forks source link

AWS CloudTrail Trail Creation added in the template #13

Open Cerrix opened 2 years ago

Cerrix commented 2 years ago

Added the possibility to create an AWS CloudTrail Trail inside the SAM Template. This is needed by the tool to work properly. Indeed, the tool needs at least one trail able to record management events to trigger correctly the Amazon Event Bridge rules.

Issue #, if available: NA

Description of changes: Template.yaml: now takes a new parameter CreateTrail [yes/no] which enables the creation of:

README.MD is updated to reflect the template changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.