sparse-intern-71089
04/20/2020, 9:09 AMgreat-postman-59271
04/20/2020, 9:15 AMaws sts get-caller-identity
it will return the correct account id depending on the profile i call it with.
But when i try to define a profile in the stack config, it is not working. It will still try to get credentials from the .aws/credentials file and if those credentials are not for the correct AWS account, i will just get some 403 errors when pulumi tries to delete resources it does not have credentials to access.
I already tried a few things, but i also cant figure out if it is even supported or not by pulumi, so i thought i'd ask here to see if anyone has experience in this 🙂quaint-hydrogen-7228
04/21/2020, 6:44 AMgreat-postman-59271
04/21/2020, 9:40 AMaws2 sts get-caller-identity
i will get my personal account but if i call
aws2 sts get-caller-identity --profile someProfile
i will get info from the other account.
I would assume pulumi works by calling the cli in the same fashion?
So really not sure where the problem is and why its not really working. 😕quaint-hydrogen-7228
04/21/2020, 12:01 PMgreat-postman-59271
04/21/2020, 12:35 PMquaint-hydrogen-7228
04/21/2020, 1:06 PMgreat-postman-59271
04/22/2020, 6:24 AM