Default: Local State
.ubx/state/. Add .ubx/ to your .gitignore.
Remote State Backends
For team environments, use a remote backend:State Commands
moved block for renames — it’s declarative and version-controlled.
Refreshing State
ubx plan to detect drift.
State Locking
When using remote backends, Pulumi automatically locks state during operations to prevent concurrent modifications.Stacks and Environments
Each environment (--env prod, --env staging) gets its own Pulumi stack and state file. They are completely isolated.