-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Support me-south-1 region (Unrecognized resource types: [AWS::CDK::Metadata]) #3648
Comments
As a workaround you can disable version reporting using |
But why'd it have tried deploying that resource in an un-supported region? Is this not gated by a |
I see - we'll incorporate the resources on any stack that does NOT have an explicit region specified... So all reposition ale stacks will get into this... If you pass a region to the Stack's |
For relocatable stacks (those where no `region` is provided to the `core.Stack` constructor while synthesizing), generate a condition to only try to populate the `AWS::CDK::Metadata` resource in regions that are known to support it. Fixes #3648
* feat(toolkit): conditionally emit AWS::CDK::Metadata resource For relocatable stacks (those where no `region` is provided to the `core.Stack` constructor while synthesizing), generate a condition to only try to populate the `AWS::CDK::Metadata` resource in regions that are known to support it. Fixes #3648 * fix typo * use higher level primitives * move condition name to a variable * fix broken unit test
* feat(toolkit): conditionally emit AWS::CDK::Metadata resource For relocatable stacks (those where no `region` is provided to the `core.Stack` constructor while synthesizing), generate a condition to only try to populate the `AWS::CDK::Metadata` resource in regions that are known to support it. Fixes #3648 * fix typo * use higher level primitives * move condition name to a variable * fix broken unit test
Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.
I'm submitting a ...
What is the current behavior?
If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce
When trying to deploy a stack to
me-south-1 (Middle East)
region, CDK deployments fail withUnrecognized resource types: [AWS::CDK::Metadata]
error.CDK should deploy all of my things like it does in other regions (tested the same stack in eu-west-1 region and it works no sweat).
I like deploying stuff. It makes me feel productive 🦄
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)
The text was updated successfully, but these errors were encountered: