-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
Description
The shared
role doesn't get assumed when executing the following:
sbt -DAWS_DEFAULT_PROFILE=shared ecr:createRepository
I have the following in my aws files:
[default]
aws_access_key_id = xxx
aws_secret_access_key = yyy
[shared]
aws_access_key_id = xxx
aws_secret_access_key = yyy
[default]
output = json
region = us-west-2
[profile shared]
role_arn = zzz
source_profile = default
output = json
region = us-west-2
I see this line in AWS.scala
:
...
new ProfileCredentialsProvider(sys.env.getOrElse("AWS_DEFAULT_PROFILE", "default")),
...
Any pointers would be be helpful! I see Thank you!