-
-
Save pselle/6f8dc4f1ae686398f92b2b6a9a7aade9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ TF_LOG=trace terraform destroy | |
2020/02/03 11:52:27 [INFO] Terraform version: 0.12.17 dev | |
2020/02/03 11:52:27 [INFO] Go runtime version: go1.12.1 | |
2020/02/03 11:52:27 [INFO] CLI args: []string{"/Users/pamselle/go/bin/terraform", "destroy"} | |
2020/02/03 11:52:27 [DEBUG] Attempting to open CLI config file: /Users/pamselle/.terraformrc | |
2020/02/03 11:52:27 Loading CLI configuration from /Users/pamselle/.terraformrc | |
2020/02/03 11:52:27 [INFO] CLI command args: []string{"destroy"} | |
2020/02/03 11:52:27 [TRACE] Meta.Backend: built configuration for "cos" backend with hash value 3976716055 | |
2020/02/03 11:52:27 [TRACE] Preserving existing state lineage "584d6f4c-087b-0c51-3cd0-1152c87e7f91" | |
2020/02/03 11:52:27 [TRACE] Preserving existing state lineage "584d6f4c-087b-0c51-3cd0-1152c87e7f91" | |
2020/02/03 11:52:27 [TRACE] Meta.Backend: working directory was previously initialized for "cos" backend | |
2020/02/03 11:52:27 [TRACE] Meta.Backend: using already-initialized, unchanged "cos" backend configuration | |
2020/02/03 11:52:27 meta_backend.go:100: [TRACE] Meta.Backend: instantiated backend of type *cos.Backend | |
2020/02/03 11:52:27 find.go:57: [DEBUG] checking for provider in "." | |
2020/02/03 11:52:27 find.go:57: [DEBUG] checking for provider in "/Users/pamselle/go/bin" | |
2020/02/03 11:52:27 find.go:98: [WARN] found legacy provider "terraform-provider-aws" | |
2020/02/03 11:52:27 find.go:98: [WARN] found legacy provider "terraform-provider-null" | |
2020/02/03 11:52:27 find.go:57: [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64" | |
2020/02/03 11:52:27 plugins.go:234: [DEBUG] found valid plugin: "aws", "0.0.0", "/Users/pamselle/go/bin/terraform-provider-aws" | |
2020/02/03 11:52:27 plugins.go:234: [DEBUG] found valid plugin: "null", "0.0.0", "/Users/pamselle/go/bin/terraform-provider-null" | |
2020/02/03 11:52:27 find.go:57: [DEBUG] checking for provisioner in "." | |
2020/02/03 11:52:27 find.go:57: [DEBUG] checking for provisioner in "/Users/pamselle/go/bin" | |
2020/02/03 11:52:27 find.go:57: [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64" | |
2020/02/03 11:52:27 meta_backend.go:131: [TRACE] Meta.Backend: backend *cos.Backend does not support operations, so wrapping it in a local backend | |
2020/02/03 11:52:27 backend_apply.go:24: [INFO] backend/local: starting Apply operation | |
2020/02/03 11:52:27 backend_local.go:41: [TRACE] backend/local: requesting state manager for workspace "space3" | |
2020/02/03 11:52:27 backend_state.go:78: [DEBUG] state manager, current workspace: space3 | |
2020/02/03 11:52:28 client.go:277: [DEBUG] getBucket bucket-for-terraform-state-1259299171/terraform/state: code: 200, error: <nil> | |
2020/02/03 11:52:28 backend_state.go:31: [DEBUG] list all workspaces, objects: [{terraform/state/space1/terraform.tfstate "766eedffd072aee8703e888c09a8187a" 996 0 2020-02-03T16:41:51.000Z STANDARD 0xc0005b5260} {terraform/state/space2/terraform.tfstate "6648856e322fd424578baa6288eaa41c" 506 0 2020-02-03T16:41:10.000Z STANDARD 0xc0005b5290} {terraform/state/space2/terraform.tfstate.tflock "6d0dbbb50d5501345bcf355dcab94782" 234 0 2020-02-03T16:44:11.000Z STANDARD 0xc0005b52c0} {terraform/state/space3/terraform.tfstate "c12cbff0671bdd5b5268e376c4062c80" 997 0 2020-02-03T16:45:22.000Z STANDARD 0xc0005b52f0} {terraform/state/space3/terraform.tfstate.tflock "9dda333eb4a807d9f1b1efc0126c42e1" 234 0 2020-02-03T16:45:48.000Z STANDARD 0xc0005b5320} {terraform/state/terraform.tfstate "26bb99cd627a579612e6bdaa9dba29a9" 506 0 2020-02-03T16:40:03.000Z STANDARD 0xc0005b5350}], error: <nil> | |
2020/02/03 11:52:28 backend_state.go:55: [DEBUG] list all workspaces, workspaces: [default space1 space2 space3] | |
2020/02/03 11:52:28 backend_local.go:47: [TRACE] backend/local: requesting state lock for workspace "space3" | |
2020/02/03 11:52:28 client.go:76: [DEBUG] lock remote state file terraform/state/space3/terraform.tfstate.tflock | |
2020/02/03 11:52:28 client.go:348: [DEBUG] lock cos file bucket-for-terraform-state-1259299171:terraform/state/space3/terraform.tfstate.tflock | |
Acquiring state lock. This may take a few moments... | |
2020/02/03 11:52:28 client.go:382: [DEBUG] create tag tencentcloud-terraform-lock:2846f8499a5d2a0809dcf783cceea4d6: error: [TencentCloudSDKError] Code=ResourceInUse.TagDuplicate, Message=[SWOOLE_WTAG] tagKey-tagValue have exists., RequestId=a3cac2eb-3c05-4d90-81be-d4ff4ce234f6 | |
2020/02/03 11:52:28 client.go:131: [DEBUG] failed to lock or unlock terraform/state/space3/terraform.tfstate.tflock: failed to create tag: tencentcloud-terraform-lock -> 2846f8499a5d2a0809dcf783cceea4d6: [TencentCloudSDKError] Code=ResourceInUse.TagDuplicate, Message=[SWOOLE_WTAG] tagKey-tagValue have exists., RequestId=a3cac2eb-3c05-4d90-81be-d4ff4ce234f6 | |
2020/02/03 11:52:28 client.go:178: [DEBUG] getObject terraform/state/space3/terraform.tfstate.tflock: code: 200, error: <nil> | |
2020/02/03 11:52:28 client.go:189: [DEBUG] getObject terraform/state/space3/terraform.tfstate.tflock: checksum: 9dda333eb4a807d9f1b1efc0126c42e1 | |
2020/02/03 11:52:28 client.go:197: [DEBUG] getObject terraform/state/space3/terraform.tfstate.tflock: data length: 234 | |
2020/02/03 11:52:28 client.go:204: [DEBUG] getObject terraform/state/space3/terraform.tfstate.tflock: check: 9dda333eb4a807d9f1b1efc0126c42e1 | |
Error: Error locking state: Error acquiring the state lock: failed to create tag: tencentcloud-terraform-lock -> 2846f8499a5d2a0809dcf783cceea4d6: [TencentCloudSDKError] Code=ResourceInUse.TagDuplicate, Message=[SWOOLE_WTAG] tagKey-tagValue have exists., RequestId=a3cac2eb-3c05-4d90-81be-d4ff4ce234f6 | |
Lock Info: | |
ID: 9dda333eb4a807d9f1b1efc0126c42e1 | |
Path: terraform/state/space3/terraform.tfstate.tflock | |
Operation: workspace_delete | |
Who: pamselle@Pam-MBP.local | |
Version: 0.12.17 | |
Created: 2020-02-03 16:45:48.151353 +0000 UTC | |
Info: | |
Terraform acquires a state lock to protect the state from being written | |
by multiple users at the same time. Please resolve the issue above and try | |
again. For most commands, you can disable locking with the "-lock=false" | |
flag, but this is not recommended. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment