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
During this run we see error mentioned in the subject. We can see S3 bucket for staging has been created, but is empty, and oddly, my prod s3 state bucket appears to have my staging .tfstate file in there.
If I edit the terraform init command that is being run to have input=true... We see the following:
Initializing the backend...
Backend configuration changed!
Terraform has detected that the configuration specified for the backend
has changed. Terraform will now check for existing state in the backends.
Do you want to migrate all workspaces to "s3"?
Both the existing "s3" backend and the newly configured "s3" backend
support workspaces. When migrating between backends, Terraform will copy
all workspaces (with the same names). THIS WILL OVERWRITE any conflicting
states in the destination.
Terraform initialization doesn't currently migrate only select workspaces.
If you want to migrate a select number of workspaces, you must manually
pull and push those states.
If you answer "yes", Terraform will migrate all states. If you answer
"no", Terraform will abort
This is terraform v0.12.26
The text was updated successfully, but these errors were encountered:
Seeing the above error, when I try and prep a second environment...
Steps to reproduce:
AWS_PROFILE=default ENV=prod REGION=eu-west-1 gmake prep
All looks ok at this stage, I can see S3 bucket created, and has an empty .tfstate file. We then move to prep the next environment...
AWS_PROFILE=default ENV=staging REGION=eu-west-1 gmake prep
During this run we see error mentioned in the subject. We can see S3 bucket for staging has been created, but is empty, and oddly, my prod s3 state bucket appears to have my staging .tfstate file in there.
If I edit the
terraform init
command that is being run to haveinput=true
... We see the following:This is terraform
v0.12.26
The text was updated successfully, but these errors were encountered: