terrafrom validate do not support -check-variables option anymore
dubiety opened this issue · 1 comments
dubiety commented
Describe the Bug
From terrafrom v0.12+, terraform validate does not support -check-variables
option anymore. See the discussion in the thread. From v0.12+ it won't check variable by default. Is it possible to remove -check-variables
from module/terraform/Makefile
?
Expected Behavior
Expected to see when using terraform version 0.13+, there's no error when running make terraform/validate
Steps to Reproduce
Steps to reproduce the behavior:
- Run
export TERRAFORM_VERSION = 0.15.4
- Clone
build-harness
(curl -sSL -o .build-harness "https://git.io/build-harness"; echo .build-harness
) - Run
make terraform/install
- Run
terraform/get-modules
- Run
terraform/validte
- See error below:
╷
│ Error: Failed to parse command-line flags
│
│ flag provided but not defined: -check-variables
╵
For more help on using this command, run:
terraform validate -help
make: *** [terraform/validate] Error 1
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
- OS: OSX v11.13.1
- build-harness version:
0.58.0
- terraform version:
0.13+
github-actions commented
Thank you for reporting the issue! If you haven't already joined our slack community, then we invite you to do so.
This is a great place to get help and ask questions from our AMAZING community.