brave-barista-3373
04/29/2025, 3:58 PMhigh-painter-73966
05/01/2025, 1:37 PMbackend:
url: <s3://MY_BUCKET_NAME/MY_STACK_NAME?region=us-west-2&awssdk=v2>
I just did a test of moving this to the Pulumi.STACKNAME.yaml and it worked fine.brave-barista-3373
05/01/2025, 1:39 PMhigh-painter-73966
05/01/2025, 1:56 PMcurrent
in ~/.pulumi/credentials.json. My guess is that you could just manipulate this file if that helped, but calling login might be the easiest.
A couple options to try come to mind... First is setting PULUMI_BACKEND_URL env var in your calls to pulumi. If that doesn't work, you could have a ~/.pulumi/credentials.json and a ~/.pulumi-govcloud/credentials.json and set PULUMI_HOME to point to the one that is logged in to the backend you want.