-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
I am trying to use terragrunt with aws-vault but my configuration seems to fail with terragrunt (and terraform), but works fine for the cli for example.
I believe that this might be an issue with not using the latest SDK, so I would try to upgrade that first and see if that fixes the issue.
My aws config:
[profile work]
region=us-east-1
credential_process = aws-vault exec work --json --prompt=osascript
[profile playground-AdminRole]
region=us-east-1
source_profile=work
role_arn=arn:aws:iam::111111111111:role/AdminRole➜ terragrunt apply
[terragrunt] 2019/09/13 13:14:18 Reading Terragrunt config file at /Users/reegnz/github/aws-infra-live/playground/global/domain/terragrunt.hcl
[terragrunt] [/Users/reegnz/github/aws-infra-live/playground/global/domain] 2019/09/13 13:14:18 Running command: terraform --version
[terragrunt] 2019/09/13 13:14:19 Terraform files in /Users/reegnz/github/aws-infra-live/playground/global/domain/.terragrunt-cache/YHAiOZmsTQ0ZYoYx4EKbpRrLc6U/atLwOwOfUS0c8RxP5eXSzcffHRw/domain are up to date. Will not download again.
[terragrunt] 2019/09/13 13:14:19 Copying files from /Users/reegnz/aws-infra-live/playground/global/domain into /Users/reegnz/github/aws-infra-live/playground/global/domain/.terragrunt-cache/YHAiOZmsTQ0ZYoYx4EKbpRrLc6U/atLwOwOfUS0c8RxP5eXSzcffHRw/domain
[terragrunt] 2019/09/13 13:14:19 Setting working directory to /Users/reegnz/aws-infra-live/playground/global/domain/.terragrunt-cache/YHAiOZmsTQ0ZYoYx4EKbpRrLc6U/atLwOwOfUS0c8RxP5eXSzcffHRw/domain
[terragrunt] 2019/09/13 13:14:19 Error initializing session: SharedConfigAssumeRoleError: failed to load assume role for arn:aws:iam::946862322396:role/AdminRole, source profile has no shared credentials
[terragrunt] 2019/09/13 13:14:19 Unable to determine underlying exit code, so Terragrunt will exit with error code 1
Cinderhaze
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request