Closed nitrocode closed 7 months ago
Give it a try!
$ cat main.tf
module "component" {
source = "git::ssh://git@github.com/org/repo.git//modules/component?ref=v1.2.3"
}
$ tfupdate module git::ssh://git@github.com/org/repo.git//modules/component -v 1.2.4 main.tf
$ cat main.tf
module "component" {
source = "git::ssh://git@github.com/org/repo.git//modules/component?ref=v1.2.4"
}
@nitrocode I will close this issue because I believe this feature works as expected. Please feel free to reopen if I missed something.
e.g.
Is there a way to do this using the cli ?
My current workaround
Thanks!