helpful-kitchen-78641
01/12/2021, 10:51 PMpulumi up
or pulumi refresh
using an S3 bucket as my backend:
error: unable to discover AWS AccessKeyID and/or SecretAccessKey - see <https://pulumi.io/install/aws.html> for details on configuration
AFAIK nothing has changed in my ~/.aws/config
or ~/.aws/credentials
file. I've also tried specifying a profile as suggested here ( github.com/pulumi/pulumi-aws/issues/252#issuecomment-401405577 ) but i'm continuing to bang my head on this problembillowy-army-68599
helpful-kitchen-78641
01/12/2021, 10:56 PMdefault
profile) and the resources it's creating are in another (staging
). The aws:profile
specified in my Pulumi.stackname.yaml
has permission to create/modify those resourceshelpful-kitchen-78641
01/12/2021, 10:57 PMbillowy-army-68599
helpful-kitchen-78641
01/13/2021, 12:24 AM-v=3
but it doesn't show anything extrahelpful-kitchen-78641
01/13/2021, 12:25 AMAWS_SDK_LOAD_CONFIG=1
make the credentials provider more similar?helpful-kitchen-78641
01/13/2021, 12:27 AMbillowy-army-68599
-v=9 --logtostderr
billowy-army-68599
billowy-army-68599
billowy-army-68599
export AWS_PROFILE=<your profile name>
aws sts get-caller-identity
billowy-army-68599
billowy-army-68599
helpful-kitchen-78641
01/13/2021, 12:37 AMaws sts get-caller-identity
appears to work, with an appended /botocore-session-16[....]
to the account/role i would expect to see, and we are not using aws ssohelpful-kitchen-78641
01/13/2021, 12:38 AMpulumi preview --diff
has no problems