Skip to content

fixed tencentcloud tag#29445

Merged
jbardin merged 1 commit intohashicorp:mainfrom
likexian:main
Aug 30, 2021
Merged

fixed tencentcloud tag#29445
jbardin merged 1 commit intohashicorp:mainfrom
likexian:main

Conversation

@likexian
Copy link
Copy Markdown
Contributor

refer: #29421

This changes only fixed the tencentcloud tag.

I have test it and passed:

go test -v ./...
=== RUN   TestStateFile
=== PAUSE TestStateFile
=== RUN   TestRemoteClient
=== PAUSE TestRemoteClient
=== RUN   TestRemoteClientWithPrefix
=== PAUSE TestRemoteClientWithPrefix
=== RUN   TestRemoteClientWithEncryption
=== PAUSE TestRemoteClientWithEncryption
=== RUN   TestRemoteLocks
=== PAUSE TestRemoteLocks
=== RUN   TestBackend
=== PAUSE TestBackend
=== RUN   TestBackendWithPrefix
=== PAUSE TestBackendWithPrefix
=== RUN   TestBackendWithEncryption
=== PAUSE TestBackendWithEncryption
=== CONT  TestStateFile
=== CONT  TestRemoteLocks
--- PASS: TestStateFile (0.00s)
=== CONT  TestRemoteClientWithPrefix
=== CONT  TestRemoteClient
=== CONT  TestBackendWithPrefix
=== CONT  TestBackendWithEncryption
=== CONT  TestRemoteClientWithEncryption
=== CONT  TestRemoteClient
    backend_test.go:55: TestBackendConfig on *cos.Backend with configs.synthBody{Filename:"<TestWrapConfig>", Values:map[string]cty.Value{"bucket":cty.StringVal("terraform-test-bb31104f27-1"), "key":cty.StringVal("terraform.tfstate"), "prefix":cty.StringVal(""), "region":cty.StringVal("ap-guangzhou")}}
=== CONT  TestRemoteLocks
    backend_test.go:107: TestBackendConfig on *cos.Backend with configs.synthBody{Filename:"<TestWrapConfig>", Values:map[string]cty.Value{"bucket":cty.StringVal("terraform-test-d0add062f4-1"), "key":cty.StringVal("terraform.tfstate"), "prefix":cty.StringVal(""), "region":cty.StringVal("ap-guangzhou")}}
=== CONT  TestBackendWithEncryption
    backend_test.go:170: TestBackendConfig on *cos.Backend with configs.synthBody{Filename:"<TestWrapConfig>", Values:map[string]cty.Value{"bucket":cty.StringVal("terraform-test-ca8180226e-1"), "key":cty.StringVal("terraform.tfstate"), "prefix":cty.StringVal(""), "region":cty.StringVal("ap-guangzhou")}}
=== CONT  TestBackendWithPrefix
    backend_test.go:155: TestBackendConfig on *cos.Backend with configs.synthBody{Filename:"<TestWrapConfig>", Values:map[string]cty.Value{"bucket":cty.StringVal("terraform-test-7397f5929a-1"), "key":cty.StringVal("terraform.tfstate"), "prefix":cty.StringVal("prefix/test"), "region":cty.StringVal("ap-guangzhou")}}
=== CONT  TestRemoteClientWithEncryption
    backend_test.go:90: TestBackendConfig on *cos.Backend with configs.synthBody{Filename:"<TestWrapConfig>", Values:map[string]cty.Value{"bucket":cty.StringVal("terraform-test-2afd24f6e6-1"), "key":cty.StringVal("terraform.tfstate"), "prefix":cty.StringVal(""), "region":cty.StringVal("ap-guangzhou")}}
=== CONT  TestRemoteClientWithPrefix
    backend_test.go:73: TestBackendConfig on *cos.Backend with configs.synthBody{Filename:"<TestWrapConfig>", Values:map[string]cty.Value{"bucket":cty.StringVal("terraform-test-068803fa77-1"), "key":cty.StringVal("terraform.tfstate"), "prefix":cty.StringVal("prefix/test"), "region":cty.StringVal("ap-guangzhou")}}
=== CONT  TestBackend
    backend_test.go:138: TestBackendConfig on *cos.Backend with configs.synthBody{Filename:"<TestWrapConfig>", Values:map[string]cty.Value{"bucket":cty.StringVal("terraform-test-ed1a7d0f02-1"), "key":cty.StringVal("terraform.tfstate"), "prefix":cty.StringVal(""), "region":cty.StringVal("ap-guangzhou")}}
    backend_test.go:141: TestBackendConfig on *cos.Backend with configs.synthBody{Filename:"<TestWrapConfig>", Values:map[string]cty.Value{"bucket":cty.StringVal("terraform-test-ed1a7d0f02-1"), "key":cty.StringVal("terraform.tfstate"), "prefix":cty.StringVal(""), "region":cty.StringVal("ap-guangzhou")}}
--- PASS: TestRemoteClient (1.24s)
=== CONT  TestBackend
    testing.go:299: TestBackend: testing state locking for *cos.Backend
    testing.go:299: TestBackend: testing state locking for *cos.Backend
--- PASS: TestBackend (3.40s)
=== CONT  TestBackendWithPrefix
    backend_test.go:158: TestBackendConfig on *cos.Backend with configs.synthBody{Filename:"<TestWrapConfig>", Values:map[string]cty.Value{"bucket":cty.StringVal("terraform-test-7397f5929a-1"), "key":cty.StringVal("terraform.tfstate"), "prefix":cty.StringVal("prefix/test/"), "region":cty.StringVal("ap-guangzhou")}}
=== CONT  TestBackendWithEncryption
    backend_test.go:173: TestBackendConfig on *cos.Backend with configs.synthBody{Filename:"<TestWrapConfig>", Values:map[string]cty.Value{"bucket":cty.StringVal("terraform-test-ca8180226e-1"), "key":cty.StringVal("terraform.tfstate"), "prefix":cty.StringVal(""), "region":cty.StringVal("ap-guangzhou")}}
--- PASS: TestRemoteClientWithEncryption (5.93s)
--- PASS: TestRemoteClientWithPrefix (6.18s)
=== CONT  TestBackendWithPrefix
    testing.go:299: TestBackend: testing state locking for *cos.Backend
--- PASS: TestRemoteLocks (6.32s)
=== CONT  TestBackendWithEncryption
    testing.go:299: TestBackend: testing state locking for *cos.Backend
--- PASS: TestBackendWithPrefix (7.38s)
--- PASS: TestBackendWithEncryption (8.22s)
PASS
ok      github.com/hashicorp/terraform/internal/backend/remote-state/cos        8.240s

@jbardin
Copy link
Copy Markdown
Member

jbardin commented Aug 30, 2021

Hi @likexian,

Thanks for the update!

@jbardin jbardin added the 1.0-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Aug 30, 2021
@jbardin jbardin merged commit fee0bff into hashicorp:main Aug 30, 2021
jbardin added a commit that referenced this pull request Aug 30, 2021
jbardin added a commit that referenced this pull request Aug 30, 2021
@github-actions
Copy link
Copy Markdown
Contributor

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

1.0-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants