aws-amplify / amplify-cli

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.
Apache License 2.0
2.81k stars 821 forks source link

Moving from Amplify Dev to Prod in new Account (code in CodeCommit) #10181

Closed samburton4655 closed 2 years ago

samburton4655 commented 2 years ago

Which Category is your question related to? Amplify CLI

Amplify CLI Version 7.6.23

What AWS Services are you utilizing? Amplify, Cognito, DynamoDB, AppSync, S3, EC2, CodeCommit, Control Tower

Provide additional details e.g. code snippets. Be sure to remove any sensitive data. I currently have an Amplify Dev project that is in a development account. My code for this project lives in a CodeCommit repo that's also in this development account. I have Control Tower set up and would like for this project to be moved to my production account. What are best practices regarding getting my architecture set up for a shift into production?

josefaidt commented 2 years ago

Hey @samburton4655 :wave: thanks for raising this and apologies for the delay here! While we will be able to create another environment that points to the production AWS account, since the code lives in the dev account you will not be able to hook up to Amplify Hosting CI/CD pipeline running in your production account. Please let me know if this does not answer your question and we can re-open to investigate further 🙂