(AWS Config): EC2_INTERNET_GATEWAY maps to the wrong Resource Type #16463
Labels
@aws-cdk/aws-config
Related to AWS Config
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
EC2_INTERNET_GATEWAY
maps to the wrong Resource TypeReproduction Steps
This bug can be replicated by below snippet:
Synthesized template looked like:
What did you expect to happen?
ComplianceResourceTypes
in synthesized template should beAWS::EC2::InternetGateway
rather thanAWS::EC2::CustomerGateway
What actually happened?
aws-cdk/packages/@aws-cdk/aws-config/lib/rule.ts
Line 1358 in ae09c16
Which should be mapped to
AWS::EC2::InternetGateway
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: