Closed matthewfischer closed 6 years ago
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.
The labels on this github issue will be updated when the story is started.
Hi @matthewfischer! Thanks for bringing this up. This commit should fix that. It's on master. Let us know if the issue persists.
Confirmed fixed.
I tried using true for value, but it failed. However, passing 1 works as expected. Should the documentation be updated to show the value should be 1 instead of true.
terraform plan -var external_database="true"
Error: Error asking for user input: 1 error(s) occurred:
${var.external_database > 0 ? 1 : 0}
Does it work without the quotes around true
?
@jasonbisson Try terraform plan -var external_database=true
, it should work.
Thanks for the quick response.
That worked. Also, can we update the readme since other variables quotes.
@jasonbisson Thanks for mentioning the issue, updated documentation here: https://github.com/pivotal-cf/terraforming-gcp/commit/3d66ce6b2bff3408914307ab1246f2d54ece6e5c
After the module refactor terraform is having issues calculating count across the modules, when running plan with this setting on, the following error occurs:
Disabling this setting allows it to work.