mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
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
This commit is contained in:
parent
3b3739b0ca
commit
b4a735779c
@ -181,7 +181,7 @@ func (c *RemoteClient) Lock(info *state.LockInfo) (string, error) {
|
||||
Columns: []tablestore.AttributeColumn{
|
||||
{
|
||||
ColumnName: "LockID",
|
||||
Value: c.lockFile,
|
||||
Value: c.lockPath(),
|
||||
},
|
||||
{
|
||||
ColumnName: "Info",
|
||||
|
Loading…
Reference in New Issue
Block a user