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_no_internet_access.py #328

Closed chessplaya2010 closed 4 years ago

chessplaya2010 commented 4 years ago

does not work out of the box, tried it in two different accounts, same error below:

('Could not load configuration item', {u'configRuleId': u'config-rule-uzdyoz', u'version': u'1.0', u'configRuleName': u'ec2nointernetaccess', u'configRuleArn': u'arn:aws:config:us-east-1:XXXXXXXX:config-rule/config-rule-uzdyoz', u'invokingEvent': u'{"awsAccountId":"XXXXXXXX","notificationCreationTime":"2020-05-08T16:51:21.177Z","messageType":"ScheduledNotification","recordVersion":"1.0"}',

chessplaya2010 commented 4 years ago

configuration error, needed to be set up as configuration change. thx for the help J. Rault