This message was deleted.
# esc
s
This message was deleted.
1
g
pulumi config get aws:region
correctly returns the region set in the ESC environment. I've made sure the aws:region is not set in the stack file (
Pulumi.dev.yaml
) But
pulumi preview
fails with invalid credentials.
Turns out the aws cli didn't like me setting AWS_SESSION_TOKEN. Or, I had set it to an invalid value or something.