Mathias Lafeldt
07139e453a
backend/remote-state/oss: extract pkName constant
2020-02-18 18:47:15 +01:00
Mathias Lafeldt
6bb22907a1
backend/remote-state/oss: Fix state locking by using LockID as PK
2020-02-18 16:38:41 +01:00
Mathias Lafeldt
b4a735779c
backend/remote-state/oss: Prepend bucket name to LockID
...
To allow using the same Tablestore table with multiple OSS buckets.
e.g. instead of env:/some/path/terraform.tfstate
the LockID now becomes some-bucket/env:/some/path/terraform.tfstate
2020-02-18 16:38:41 +01:00
Mathias Lafeldt
3b3739b0ca
backend/remote-state/oss: Add missing lock path to lock info
...
So that is shows up in lock errors, etc.
2020-02-18 16:38:41 +01:00
Mathias Lafeldt
bbd2d46ac8
backend/remote-state/oss: Format code using goimports
2020-02-18 16:38:40 +01:00
He Guimin
3f44dd9dec
Add tablestore config to store state lock
2019-04-11 07:11:10 +08:00
He Guimin
b887d44712
Add Alibaba Cloud backend OSS with lock
2019-04-11 07:06:43 +08:00