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

Added EC2_INFRASTRUCTURE_TAG_MATCHING #334

Open fuellbie opened 3 years ago

fuellbie commented 3 years ago

I confirm these files are made available under Apache License, Version 2.0 (https://aws.amazon.com/apache-2-0/)

Issue #, if available: https://github.com/awslabs/aws-config-rules/issues/336

Description of changes: Add config rule which compares the tags of related resources. It compares the tags of the EC2 instance and the related resources (VPC, SecurityGroups, ENIs, Subnet and Volumes). The rule parameters define which tag will be compared (TagName) and which infrastracture resources will be evaluated.