How do you specify a module's version when publishing it to the public Terraform Module Registry?
How do you specify a module's version when publishing it to the public Terraform Module Registry?
To specify a module's version when publishing it to the public Terraform Module Registry, you need to tag a release in the associated repository. The versioning is typically done using Git tags, often following semantic versioning conventions. When you create a tag for a specific commit in the repository, the Terraform Module Registry will recognize the tag as a version for the module.
Tag releases using semantic versioning protocol
release tag names