pulumi/pkg/backend/filestate
Kraig Amador 71ec66aa45
Support locking on filestate logins (#2697)
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.
2021-03-16 14:00:47 +11:00
..
backend.go Support locking on filestate logins (#2697) 2021-03-16 14:00:47 +11:00
backend_test.go Fix panic with logs (#5503) 2020-10-02 14:09:34 -07:00
bucket.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
bucket_test.go Fix 'pulumi stack ls' on Windows (#4094) 2020-03-18 13:57:25 -07:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
gcpauth.go [cli] Disable permalinks to the update details page when using elf-managed backends (S3, Azure, GCS) (#6251) 2021-02-19 23:55:35 +00:00
lock.go Support locking on filestate logins (#2697) 2021-03-16 14:00:47 +11:00
snapshot.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
stack.go Correctly rename stack files during a rename (#5812) 2020-12-01 16:55:48 -08:00
state.go Add pagination to pulumi stack history (#6292) 2021-02-09 16:20:01 -08:00