Skip to content
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

Example fails to build in us-gov-west-1 #348

Closed
cyorobert opened this issue Sep 30, 2018 · 3 comments
Closed

Example fails to build in us-gov-west-1 #348

cyorobert opened this issue Sep 30, 2018 · 3 comments
Labels

Comments

@cyorobert
Copy link

Hey, thanks for the hard work developing this project. I'm following along with https://ecsworkshop.com/platform/example/ and trying to get some infrastructure up and running on us-gov-west-1.

I've created the following configuration file:

mu.yml

---

environments:
  - name: acceptance
    provider: ecs
  - name: production
    provider: ecs
service:
    acceptance:
      disabled: true
    production:
      disabled: true

but receive the following error after running mu env up acceptance && mu env up production

ERROR    mu-{my-namespace}-iam-common:  CloudFormationRole (AWS::IAM::Role) CREATE_FAILED Partition "aws" is not valid for resource "arn:aws:iam::*:role/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS*"

Is this an issue using Mu in govcloud, or an issue with my config?

@brentley
Copy link
Contributor

brentley commented Oct 1, 2018

looking at that error message, this makes me think that IAM behaves differently in govcloud than everywhere else:
Partition "aws" is not valid for resource

any chance you can swap to us-west-2 for educational purposes?

@cplee
Copy link
Contributor

cplee commented Oct 1, 2018

All the CloudFormation templates need to be updated to replace arn:aws with arn:${AWS::Partition}

@cplee
Copy link
Contributor

cplee commented Oct 3, 2018

fixed in #351

@cplee cplee closed this as completed Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants