You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure a Terraform config to use the etcdv3 backend
terraform workspace list
Additional Context
This is also caught by the acceptance tests after applying a fix for #28096
TF_ACC=1 TF_ETCDV3_ENDPOINTS=http://127.0.0.1:2379 go test ./backend/remote-state/etcdv3
--- FAIL: TestBackend (0.25s)
backend_test.go:40: Cleaned up 0 keys.
backend_test.go:62: TestBackendConfig on *etcd.Backend with configs.synthBody{Filename:"<TestWrapConfig>", Values:map[string]cty.Value{"endpoints":cty.TupleVal([]cty.Value{cty.StringVal("http://127.0.0.1:2379")}), "prefix":cty.StringVal("tf-unit/2021-03-15T16:30:34-05:00/")}}
backend_test.go:67: TestBackendConfig on *etcd.Backend with configs.synthBody{Filename:"<TestWrapConfig>", Values:map[string]cty.Value{"endpoints":cty.TupleVal([]cty.Value{cty.StringVal("http://127.0.0.1:2379")}), "prefix":cty.StringVal("tf-unit/2021-03-15T16:30:34-05:00/")}}
backend_test.go:73: should only have the default workspace to start: []string{"default", "default"}
backend_test.go:40: Cleaned up 1 keys.
FAIL
FAIL github.com/hashicorp/terraform/backend/remote-state/etcdv3 4.543s
FAIL
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked as resolved and limited conversation to collaborators
Apr 17, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform Configuration Files
Command Output
Expected Behavior
Default workspace should be listed once.
Actual Behavior
Default workspace is listed twice.
Steps to Reproduce
terraform workspace list
Additional Context
This is also caught by the acceptance tests after applying a fix for #28096
The text was updated successfully, but these errors were encountered: