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.
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