Problem
Due to a bug that has now been resolved, you may have previously had the ability to publish a module with an incorrect version string. Release tag names must follow the Semantic Versioning scheme, which you can optionally prefix with av
. For example,v1.0.4
and0.9.2
. The registry ignores tags that do not follow this naming scheme.
Warning: Do not attempt to delete and republish the module. This will cause all incorrect versions to fail to upload and cannot be undone on Terraform Cloud and requires going back to a previous version if using Terraform Enterprise.
Prerequisites (if applicable)
- TFE v202301-1 or later
- Terraform Cloud
Solutions:
-
Publish a new module version that is semver compliant. Any versions that were published before the update will still work and can be referenced regardless of version string, as long as they are not deleted.