Clarify 'cloud' configuration block change message
When changing a tag after the workspace has been initialized, executing terraform plan or terraform apply would show the error: Terraform Cloud initialization required, please run "terraform init" Reason: Backend configuration changed from "cloud" to terraform cloud. The "Reason" is incorrect. In this case, the "Reason" should read: "Terraform Cloud configuration block changed". I have adjusted the logic around this switch case statement that was assigning the incorrect value to "Reason" (initReason variable) and also worded things a little different.
Showing
+468 -327
... | ... | @@ -36,14 +36,14 @@ require ( |
github.com/hashicorp/go-azure-helpers v0.14.0 | ||
github.com/hashicorp/go-checkpoint v0.5.0 | ||
github.com/hashicorp/go-cleanhttp v0.5.2 | ||
github.com/hashicorp/go-getter v1.5.2 | ||
github.com/hashicorp/go-getter v1.5.9 | ||
github.com/hashicorp/go-hclog v0.15.0 | ||
github.com/hashicorp/go-multierror v1.1.1 | ||
github.com/hashicorp/go-plugin v1.4.3 | ||
github.com/hashicorp/go-retryablehttp v0.7.0 | ||
github.com/hashicorp/go-tfe v0.19.1-0.20211020175229-e52963e079d0 | ||
github.com/hashicorp/go-tfe v0.20.1-0.20211110172530-c43c6b574caa | ||
github.com/hashicorp/go-uuid v1.0.2 | ||
github.com/hashicorp/go-version v1.2.1 | ||
github.com/hashicorp/go-version v1.3.0 | ||
github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f | ||
github.com/hashicorp/hcl/v2 v2.10.1 | ||
github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2 | ||
... | ... | @@ -86,7 +86,7 @@ require ( |
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d | ||
golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84 | ||
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e | ||
golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf | ||
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d | ||
golang.org/x/text v0.3.6 | ||
golang.org/x/tools v0.1.7 | ||
google.golang.org/api v0.44.0-impersonate-preview | ||
... | ... | @@ -94,10 +94,10 @@ require ( |
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0 | ||
google.golang.org/protobuf v1.27.1 | ||
honnef.co/go/tools v0.3.0-0.dev | ||
k8s.io/api v0.0.0-20190620084959-7cf5895f2711 | ||
k8s.io/apimachinery v0.0.0-20190913080033-27d36303b655 | ||
k8s.io/client-go v10.0.0+incompatible | ||
k8s.io/utils v0.0.0-20200411171748-3d5a2fe318e4 | ||
k8s.io/api v0.21.3 | ||
k8s.io/apimachinery v0.21.3 | ||
k8s.io/client-go v0.21.3 | ||
k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b | ||
) | ||
require ( | ||
... | ... | @@ -131,13 +131,14 @@ require ( |
github.com/dylanmei/iso8601 v0.1.0 // indirect | ||
github.com/fatih/color v1.9.0 // indirect | ||
github.com/form3tech-oss/jwt-go v3.2.2+incompatible // indirect | ||
github.com/go-logr/logr v0.4.0 // indirect | ||
github.com/gofrs/uuid v3.3.0+incompatible // indirect | ||
github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect | ||
github.com/google/go-querystring v1.1.0 // indirect | ||
github.com/google/gofuzz v1.0.0 // indirect | ||
github.com/google/gofuzz v1.1.0 // indirect | ||
github.com/googleapis/gax-go/v2 v2.0.5 // indirect | ||
github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d // indirect | ||
github.com/googleapis/gnostic v0.4.1 // indirect | ||
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 // indirect | ||
github.com/hashicorp/go-immutable-radix v1.0.0 // indirect | ||
github.com/hashicorp/go-msgpack v0.5.4 // indirect | ||
... | ... | @@ -150,11 +151,11 @@ require ( |
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d // indirect | ||
github.com/huandu/xstrings v1.3.2 // indirect | ||
github.com/imdario/mergo v0.3.11 // indirect | ||
github.com/json-iterator/go v1.1.7 // indirect | ||
github.com/json-iterator/go v1.1.10 // indirect | ||
github.com/jstemmer/go-junit-report v0.9.1 // indirect | ||
github.com/jtolds/gls v4.2.1+incompatible // indirect | ||
github.com/klauspost/compress v1.11.2 // indirect | ||
github.com/kr/pty v1.1.1 // indirect | ||
github.com/kr/pty v1.1.5 // indirect | ||
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 // indirect | ||
github.com/mattn/go-colorable v0.1.6 // indirect | ||
github.com/mitchellh/go-testing-interface v1.0.0 // indirect | ||
... | ... | @@ -167,7 +168,7 @@ require ( |
github.com/satori/go.uuid v1.2.0 // indirect | ||
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d // indirect | ||
github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a // indirect | ||
github.com/spf13/pflag v1.0.3 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/ulikunitz/xz v0.5.8 // indirect | ||
github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect | ||
github.com/vmihailenco/tagparser v0.1.1 // indirect | ||
... | ... | @@ -176,23 +177,22 @@ require ( |
go.uber.org/multierr v1.1.0 // indirect | ||
go.uber.org/zap v1.10.0 // indirect | ||
golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 // indirect | ||
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect | ||
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect | ||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6 // indirect | ||
gopkg.in/inf.v0 v0.9.0 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/ini.v1 v1.42.0 // indirect | ||
gopkg.in/yaml.v2 v2.3.0 // indirect | ||
k8s.io/klog v0.4.0 // indirect | ||
sigs.k8s.io/yaml v1.1.0 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
k8s.io/klog/v2 v2.8.0 // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.1.2 // indirect | ||
sigs.k8s.io/yaml v1.2.0 // indirect | ||
) | ||
replace google.golang.org/grpc v1.36.0 => google.golang.org/grpc v1.27.1 | ||
replace github.com/golang/mock v1.5.0 => github.com/golang/mock v1.4.4 | ||
replace k8s.io/client-go => k8s.io/client-go v0.0.0-20190620085101-78d2af792bab | ||
// github.com/dgrijalva/jwt-go is no longer maintained but is an indirect | ||
// dependency of the old etcdv2 backend, and so we need to keep this working | ||
// until that backend is removed. github.com/golang-jwt/jwt/v3 is a drop-in | ||
... | ... |
This diff is collapsed.
internal/cloud/e2e/README.md
0 → 100644
Please register or sign in to comment