Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
HashiCorp Certified: Terraform Associate (003) · HashiCorp
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Validation requires an initialized working directory with any referenced plugins and modules installed. https://developer.hashicorp.com/terraform/cli/commands/validate
No, you cannot run terraform validate successfully before running terraform init for the first time. You must always run terraform init first.
It A, test it yourself youll get an error stating TF needs to be initialized before anything else.