We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relevant versions:
terraform [Terraform v0.11.2]
At a minimum:
But probably others as well, and this may well be a bug in Terraform core.
Partial minimal repro, to give you the idea:
resource "kubernetes_replication_controller" "default" { metadata { name = "${var.service_name}" labels { env = "${terraform.workspace}" app = "${var.service_name}" terraform = true # <-This line causes the crash. } } # Rest of spec elided }
Would guess that this can be repro'd by adding any boolean label to any resource.
panic: interface conversion: interface {} is bool, not string
I would have expected automatic conversion of boolean to string.
Hard crash. I've confirmed that modifying the label to terraform="true" fixes the problem.
terraform="true"
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Terraform Version
Relevant versions:
terraform [Terraform v0.11.2]
Affected Resource(s)
At a minimum:
But probably others as well, and this may well be a bug in Terraform core.
Terraform Configuration Files
Partial minimal repro, to give you the idea:
Would guess that this can be repro'd by adding any boolean label to any resource.
Panic Output
panic: interface conversion: interface {} is bool, not string
Expected Behavior
I would have expected automatic conversion of boolean to string.
Actual Behavior
Hard crash. I've confirmed that modifying the label to
terraform="true"
fixes the problem.The text was updated successfully, but these errors were encountered: