This message was deleted.
# aws
s
This message was deleted.
l
I don't speak golang, so I'm not sure I'm reading this right (https://github.com/pulumi/pulumi-aws/blob/71fc8016fd7e2f169481fd199036fc10f4d4743f/provider/resources.go), but I think the config setting takes precedence over the env var.
Two things to note though: if you're using the S3 backend, it doesn't use the provider, so aws:profile is ignored. Only the env var affects the backend.
And, this code is used only if you don't provide the
profile
property when creating your AWS provider resource (or if you're using the default provider). It's easy to provide your own value when creating your own provider.
s
Thanks for all that @little-cartoon-10569.
👍 1