I have 4 relevant AWS accounts (Services, Dev, QA, Prod). I intended Services to contain the CI/CD pipeline and deploy to the environment specific accounts. I setup a IAM user in each environment account to use for deployments. With AWS Amplify CLI I am able to set a different profile for each environment so that I can deploy to different accounts.
This works great but I wanted to use the Amplify Console as my CI/CD pipeline. It has the ability to setup different pipelines for different branches and is able to deploy the front-end to different accounts but requires a role to deploy the back-end. I can't find a way to set it up so that it can deploy the back-end to a different account but I am fairly new to it.
For now I will either use another CI/CD solution and make calls to the Amplify CLI or setup the Amplify pipeline in each environment account.
Is there a way to setup the Amplify Console so that I can deploy the application back-end to a different account?