This message was deleted.
# aws
s
This message was deleted.
b
Hi @ambitious-father-68746 How are you cnfiguring your credentials for the provider?
a
I use AWS SSO to link the accounts with my main account. In Pulumi I just do this:
Copy code
provider = pulumi_aws.Provider(account_name,assume_role={"role_arn": assume_role}, region=region)
And then reference the provider for each resource.
b
what is
account_name
? Is it set via pulumi config set aws:accountName ?
a
No, it's just a variable that I pass through, just an identifier
I have to clarify that
pulumi up
continues to work properfy, only
pulumi refresh
is breaking.
I have a feeling this is related to https://github.com/pulumi/pulumi-aws/issues/1158, so I'll comment there and see if people can replicate
I had AWS_DEFAULT_REGION environment variable set. If I remove it, now I get the following error:
Copy code
error: failed to load checkpoint: blob (key ".pulumi/stacks/prod.json") (code=Unknown): MissingRegion: could not find region configuration
I think it's too much of a coincidence that my potential region problems are appearing at the same time as other people's complaints
b
yeah this is a problem with v3.6.0