Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

❗ NOTICE: cdk deploy fails on regions ap-southeast-4 and il-central-1 in 2.94.0 #27189

Closed
otaviomacedo opened this issue Sep 19, 2023 · 1 comment
Labels
management/tracking Issues that track a subject or multiple issues p0

Comments

@otaviomacedo
Copy link
Contributor

Status

Resolved

What is the issue?

Customers trying to deploy CDK applications to regions ap-southeast-4 and il-central-1 will get an error in version 2.94.0. These regions don't have the AWS::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 or il-central-1.

How do I resolve this?

Upgrade to the latest version of aws-cdk-lib

Related issues

No response

@otaviomacedo otaviomacedo added management/tracking Issues that track a subject or multiple issues p0 labels Sep 19, 2023
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@otaviomacedo otaviomacedo pinned this issue Sep 19, 2023
otaviomacedo added a commit to cdklabs/aws-cdk-notices that referenced this issue Sep 19, 2023
rix0rrr pushed a commit to cdklabs/aws-cdk-notices that referenced this issue Sep 19, 2023
@MrArnoldPalmer MrArnoldPalmer unpinned this issue Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
management/tracking Issues that track a subject or multiple issues p0
Projects
None yet
Development

No branches or pull requests

1 participant