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.
The terraform init command initializes a working directory containing Terraform configuration files. This is the first command you should run after writing a new Terraform configuration or cloning an existing configuration from version control. It is safe to run this command multiple times.
Terraform works based on the file extensions (except *override.tf) and read all the files and then work on the entire code base. The logical separation of files (e.g. variables.tf, output.tf) is only for better readability but does impact the execution if written in a single file. terraform inti is only for initializing the providers and remote backend, if configured.
main.tf is an option file. it might not exist. terraform init means to download all basic infrastructures from the configuration file. B false.