terraform-aws-openshift
terraform-aws-openshift copied to clipboard
var.region is requested when running terraform destroy
Looks like sometimes, if create fails, destroy winds up prompting you ... about where the cluster should be "deployed into".
[root@shared-dev terraform-aws-openshift]# terraform destroy
var.region
Region to deploy the cluster into
Enter a value:
This is fixable by adding the region=
thingy to terraform.tfvars.
Not sure if there is another way to serialize this file out earlier in the apply process ? Or if there is something specific about our terraform setup that is causing it to ask that question (using Terraform v0.10.7).
Apologies if this is more a terraform then terraform-aws-openshift issue :)
That's very strange, so is the issue you are seeing that you cannot re-create after destroying? When testing I've been using this at lot:
terraform destroy --force && terraform apply
which has been working fine, so I've not seen this issue so far!
Do you modify tfvars manually before running the above ?
The only thing I've got in my *.tfvars
is:
region = "us-east-1"
public_domain = "openshifting.com"