https://pulumi.com logo
#general
Title
# general
s

salmon-lawyer-85465

03/27/2019, 10:39 PM
Hello, I am super stuck trying to get Pulumi to work when I have a role I need to assume and MFA enabled. CLI works fine if I specific the profile and I put the profile in my ENV variable....
set AWS_PROFILE=sandbox for profile and I get The role "arnawsiam:XXXXXXXXXXXXXrole/XXXXX-sandbox-developer" cannot be assumed..
From CLI I get Enter MFA code for arnawsiam:XXXXXmfa/XXXXX: { "UserId": "XXXXXXXXXXXXXX:botocore-session-1553726670", "Account": "XXXXXXXXXXXXXX", "Arn": "arnawssts:XXXXXXXXXXXXXXassumed-role/XXXXXXX-sandbox-developer/botocore-session-XXXXXXXXXXXXXX" }
aws-vault to the rescue , got it