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.
little-cartoon-10569
02/08/2022, 8:07 PM
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.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.