Skip to content

A way to release internal dependencies automatically #144

Open
@ivangonzalezz

Description

@ivangonzalezz

Hi!

We saw this GH Action and it's really nice for our use case. The only thing that I don't see covered is managing releases for internal module dependencies.

I'll explain our use case with an example.

We save all our modules in modules/ directory. We have a module called dog with the following main.tf content:

# modules/dog/main.tf
output "sound" {
    value = "Wof!"
}

And then another module called animal:

# modules/animal/main.tf
module "dog" {
    source = "../dog"
}

output "dog_sound" {
    value = module.dog.sound
}

Our expected behaviours are:

  • When we update the animal module, bump its version to a new one as it's done by the Action right now.
  • If we update dog module, as animal is dependent on dog locally, we expect both of them to be released, not only dog as it's done now by the Action.

We are referencing these modules locally to facilitate the TF module developer its tasks, having locally the correct version for each dependency and not having to update versions manually or in multiple PRs.

What do you think about this feature?

TY in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions