Hello! Is it possible to define a region for the b...
# general
l
Hello! Is it possible to define a region for the backend s3 bucket url (within
backend=auto.ProjectBackend(url="<s3://pulumistate/>")
)? I have a central bucket for managing state but it throws an error when deploying a new instance in another region.
Copy code
could not create stack: could not list bucket: blob (code=Unknown): BucketRegionError: incorrect region, the bucket is not in 'us-west-1' region
l
The backend and provider regions are not related. You can, and should, specify them separately. The backend does not use any provider that you manage, it uses only env vars like AWS_PROFILE and AWS_REGION.
l
Aha, makes sense. I can work with that. Thanks for the clarification!
👍 1