❓ When using an S3 bucket for remote state, is it possible to move that remote state to a different S3 bucket / path, or does it need to be torn down and recreated in the new location?
l
little-cartoon-10569
03/05/2024, 9:07 PM
With care, you can move it. You can update the
backend
property in your project YAML and manually copy the object tree at the same time.
w
wooden-action-47328
03/05/2024, 9:57 PM
Cool, that’s what I suspected. The backend state path isn’t anywhere except in the Pulumi.yaml file?
l
little-cartoon-10569
03/05/2024, 10:46 PM
There's a default value for it stored in a config file in ~/.pulumi somewhere, but that's only used (afaik) when creating new projects.
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.