❗ NOTICE: cdk deploy
fails on regions ap-southeast-4
and il-central-1
in 2.94.0
#27189
Labels
cdk deploy
fails on regions ap-southeast-4
and il-central-1
in 2.94.0
#27189
Status
Resolved
What is the issue?
Customers trying to deploy CDK applications to regions
ap-southeast-4
andil-central-1
will get an error in version 2.94.0. These regions don't have theAWS::CDK::Metadata
resource type available yet, but version 2.94.0 will generate a template that will instruct CloudFormation to deploy a resource of this type in those regions.Error message
Deployment <deployment ID> failed because Couldn't call cloudformation for target arn:aws:cloudformation:il-central-1:<account ID>:stack/<stack name> because of a validation error. The error was Template format error: Unrecognized resource types: [AWS::CDK::Metadata] (Service: AmazonCloudFormation; Status Code: 400; Error Code: ValidationError; Request ID: <request ID>; Proxy: null)
What is the impact?
cdk deploy
will fail on these regions.Workaround
Pass the
--no-version-reporting
flag to the CLI.Who is affected?
All users deploying CDK generated stacks to either
ap-southeast-4
oril-central-1
.How do I resolve this?
Upgrade to the latest version of
aws-cdk-lib
Related issues
No response
The text was updated successfully, but these errors were encountered: