Rationale for Correct Answer (C):Version constraints must be specified with = and quotes, e.g.:
version = ">= 3.1"
This ensures compatibility with Terraform’s syntax.
Analysis of Incorrect Options:
A, B: Incorrect syntax, missing quotes or wrong operator format.
C: Correct Terraform syntax.
Key Concept:Correct syntax in provider version constraints ensures reproducibility.
[Reference:Terraform Exam Objective – Manage Terraform Resources and Providers., ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit