sparse-intern-71089
04/22/2021, 9:25 PMbillowy-army-68599
[dev-pulumi]
aws_access_key_id = redacted
aws_secret_access_key = redacted
[profile dev-pulumi]
source_profile = dev_pulumi
role_arn = arn:aws:iam::redacted:role/redacted-TEMP
billowy-army-68599
dev-pulumi
(dash, not underscore?) I don't see any dev_pulumi
profilepurple-orange-91853
04/22/2021, 9:39 PMpurple-orange-91853
04/22/2021, 9:40 PMbillowy-army-68599
purple-orange-91853
04/22/2021, 9:45 PMdev
file it fails with
error: unable to discover AWS AccessKeyID and/or SecretAccessKey - see <https://pulumi.io/install/aws.html> for details on configuration
purple-orange-91853
04/22/2021, 9:47 PM[profile prod]
source_profile = prod-main
role_arn = arn:aws:iam::123456:role/role-TEMP
mfa_serial = arn:aws:iam::123456:mfa/tony
[profile dev]
source_profile = prod-main
role_arn = arn:aws:iam::098765:role/role-TEMP
mfa_serial = arn:aws:iam::123456:mfa/tony
billowy-army-68599
ambitious-father-68746
04/23/2021, 9:00 AMpurple-orange-91853
04/23/2021, 3:12 PM--profile
in my cli strings. See Example scenario: Allow an instance profile role to switch to a role in another account
in this AWS doc for reference. https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-cli.htmlpurple-orange-91853
04/23/2021, 3:16 PMbillowy-army-68599