aws-cloudformation / cloudformation-coverage-roadmap

The AWS CloudFormation Public Coverage Roadmap
https://aws.amazon.com/cloudformation/
Creative Commons Attribution Share Alike 4.0 International
1.1k stars 54 forks source link

[Resource Type] - [Coverage] - AWS: Lambda: EventSourceMapping: "Tags" property is not supported in china region. #2137

Open khushail opened 1 week ago

khushail commented 1 week ago

Name of the resource

AWS::Lambda::EventSourceMapping

Resource name

No response

Description

EventSourceMapping in 2.159.0 introduced Tags, which are not supported in cn-north-1 .

After updating to 2.159.0 or 2.159.1 our deployment in cn-north-1 fails because of the error: Resource handler returned message: "Model validation failed (#: extraneous key [Tags] is not permitted)"

The error message already says it, but we compared the old template of 2.158.0 with the template of 2.159.1 and we noticed that Tags were added to EventSourceMapping. We do not explicitly set those tags, but it seems that cdk does that for us.

In theory this is nice, but this creates an issue in cn-north-1. It seems that there the EventSourceMappings do not support Tags yet.

Ref - https://github.com/aws/aws-cdk/issues/31532 Analysis - https://github.com/aws/aws-cdk/issues/31532#issuecomment-2368994905

Other Details

No response