HashiCorp Certified: Terraform Associate — Question 347
terraform init retrieves the source code for all referenced modules.
Answer options
- A. True
- B. False
Correct answer: A
Explanation
The correct answer is A because 'terraform init' is responsible for initializing the working directory and downloading the source code for all modules defined in the configuration files. Option B is incorrect as it contradicts the functionality of the terraform init command.