When developing a Terraform module, how would you specify the version when publishing it to the official Terraform Registry?
- ATerraform Registry does not support versioning modules.
- BMention it on the module’s configuration page on the Terraform Registry
- CTag a release in your module’s source control repository. (correct answer)
- DConfigure it in the module’s Terraform code.
Reveal answer & explanationHide answer
The correct answer is C. Option C: Tag a release in your module’s source control repository.
Explanation
A Terraform module packages related resources into a reusable configuration with defined inputs and outputs.