Closed TomGudman closed 2 years ago
Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Thomas Guthmann seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you already have a GitHub account, please add the email address used for this commit to your account.
Have you signed the CLA already but the status is still pending? Recheck it.
And replaced again by https://github.com/hashicorp/terraform-aws-consul/pull/240 the third time the charm!
Description
When you use terragrunt or even a terraform module calling terraform-aws-consul module you may have
spot_price
defined but you don't want to assign any value because you want the instances to be on-demand. However since it's templated with the use of a variable,spot_price
is always present. Unfortunately thetype=number
forspot_price
makes it impossible to assign an empty value because terraform/terragrunt will tell you thatnull
or""
is not a number.The change is a simple as not enforcing the
type = number
invariables.tf
Use case (simplified version)
terragrunt.hcl
terraform in-house module
Documentation
N/A
TODOs / Related issues
There isn't any issue number yet and I couldn't find one.