https://pulumi.com logo
#aws
Title
# aws
w

wooden-action-47328

03/05/2024, 9:04 PM
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.
Other than that, no, it's not stored anywhere.