aws / copilot-cli

The AWS Copilot CLI is a tool for developers to build, release and operate production ready containerized applications on AWS App Runner or Amazon ECS on AWS Fargate.
https://aws.github.io/copilot-cli/
Apache License 2.0
3.5k stars 407 forks source link

copilot pipeline update fails when its run in any gov cloud domain. #3291

Open vredcloud opened 2 years ago

vredcloud commented 2 years ago

Issue: When running copilot pipeline update, CloudFormation stack creation fails as its unable to create any resource.

Resolution: The gov clouds have arn's of the form arn:aws-us-gov:iam as opposed to arn:aws:iam. So copilot pipeline commands need to update the arn's used when being run in any gov regions

huanjani commented 2 years ago

Hello, @vredcloud!

Yes, you're absolutely right-- we don't yet support the aws-us-gov partition, unfortunately. Related: https://github.com/aws/copilot-cli/issues/2563

Thanks for the feedback!

efekarakus commented 2 years ago

https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-acp.html

Looks like GovCloud is supported but none of the sources are (no codestar connections) for example. @vredcloud do you have a preference on how you'd like to trigger the pipeline?

vredcloud commented 2 years ago

@efekarakus We trigger it using the "pipeline update" command. Also, all our code is in CodeCommit.