Skip to content

Semantically duplicated tags #138

@goruha

Description

@goruha

Describe the Bug

There are semantically equivalent version tags that point to different commits

  • 0.27.0 and v0.27.0

Terraform registry uses the latest tag in case of having a semantically equal tag, which causes an inconsistency reference module with the git URI and the Terraform registry.

Expected Behavior

Should point to the same code

Steps to Reproduce

module "example" {
  source = "git::https://github.com/cloudposse/terraform-aws-documentdb-cluster.git?ref=0.27.0" 
  ...
module "example" {
  source = "git::https://github.com/cloudposse/terraform-aws-documentdb-cluster.git?ref=v0.27.0" 
  ...
module "example" {
  source  = "cloudposse/documentdb-cluster/aws"
  version = "0.27.0"  
...

Screenshots

No response

Environment

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🐛 An issue with the system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions