Last active
April 26, 2020 07:15
-
-
Save gezza-b/0d9cd1b2a7489508ee672dc4fa3efc18 to your computer and use it in GitHub Desktop.
AWS Config Rule for approved AMIs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ec2ApprovedAmiRule: | |
Type: AWS::Config::ConfigRule | |
Properties: | |
ConfigRuleName: Ec2ApprovedAmiRule | |
InputParameters: !Sub '{ "amiIds" : "${AllowedAmi}" }' | |
Scope: | |
ComplianceResourceTypes: | |
- "AWS::EC2::Instance" | |
Source: | |
Owner: AWS | |
SourceIdentifier: APPROVED_AMIS_BY_ID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment