HashiCorp Certified: Terraform Associate — Question 241

When developing a Terraform module, how would you specify the version when publishing it to the official Terraform Registry?

Answer options

Correct answer: C

Explanation

The correct answer is C, as tagging a release in the source control repository is the method used to specify the version of a module in the Terraform Registry. Option A is incorrect because the Terraform Registry does support versioning. Option B is not the correct approach, and option D does not specify the versioning process used by the Registry.