awslabs / aws-config-rules

[Node, Python, Java] Repository of sample Custom Rules for AWS Config.
http://aws.amazon.com/config/
Creative Commons Zero v1.0 Universal
1.58k stars 851 forks source link

EC2_TAG_VOLUMES #331

Closed tekdj7 closed 3 years ago

tekdj7 commented 4 years ago

I confirm these files are made available under CC0 1.0 Universal (https://creativecommons.org/publicdomain/zero/1.0/legalcode)

Issue #, if available:

Description of changes:

Config Rule: Checks whether the Amazon Elastic Block Store (EBS) volume includes the Tags from the Amazon Elastic Compute Cloud (Amazon EC2) instance, it's attached to. The rule is NON_COMPLIANT if the volume is attached to an instance and doesn't include the instance tags.

SSM Automation Document: Tags Volumes to ensure it includes the same Tags as those of the EC2 Instance its attached to.

tekdj7 commented 4 years ago

team, what is needed for this pull request to be reviewed/approved.

jschwarzwalder commented 4 years ago

What tests have you done to ensure the code is working as intended?