-
Notifications
You must be signed in to change notification settings - Fork 79
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
Hardcode partition fails the deployment in non-aws partition #3122
Comments
Hey @zxkane, Thanks for bringing this up. It appears to be a region-specific issue. Let me review it with the team and get back to you. |
It does not make sense for me. Amplify Gen2 builds upon AWS CDK, which helps build the infrastructure on AWS and then deploy it to multiple partitions and regions. Why must an Amplify Gen2 application be deployed by Amplify Hosting? |
I see your point. After discussing with the team, we acknowledge the need for more deployment flexibility and have logged this as a feature request for further review. |
Environment information
Data packages
Description
Tried to deploy a sandbox env of an Amplify application to AWS China region via
npx ampx sandbox
, it failed onamplifyDataAmplifyTableManagerNestedStack
stack with below error,I think it's caused by the custom resource with invalid IAM policy which manages the DDB tables.
amplify-category-api/packages/amplify-graphql-model-transformer/src/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.ts
Line 79 in d96f49a
The text was updated successfully, but these errors were encountered: