HashiCorp Certified: Terraform Associate — Question 148
Which of the following should you put into the required_providers block?
Answer options
- A. version >= 3.1
- B. version = “>= 3.1”
- C. version ~> 3.1
Correct answer: B
Explanation
The correct answer is B because the required_providers block requires the version to be specified in a way that denotes equality to the constraint. Options A and C do not follow the correct syntax for specifying version constraints in this context.