mirror of https://github.com/pulumi/pulumi.git
71ec66aa45
When using the filestate backend (local files and cloud buckets) there is no protection to prevent two processes from managing the same stack simultaneously. This PR creates a locks directory in the management directory that stores lock files for a stack. Each backend implementation gets its own UUID that is joined with the stack name. The feature is currently available behind the `PULUMI_SELF_MANAGED_STATE_LOCKING=1` environment variable flag. |
||
---|---|---|
.. | ||
backend.go | ||
backend_test.go | ||
bucket.go | ||
bucket_test.go | ||
doc.go | ||
gcpauth.go | ||
lock.go | ||
snapshot.go | ||
stack.go | ||
state.go |