gruntwork-io / terragrunt

Terragrunt is a flexible orchestration tool that allows Infrastructure as Code written in OpenTofu/Terraform to scale.
https://terragrunt.gruntwork.io/
MIT License
8.04k stars 974 forks source link

TFR Shorthand handling for OpenTofu #2781

Closed denis256 closed 7 months ago

denis256 commented 11 months ago

Describe the solution you'd like Improve handling of shorthand TFR urls in case of OpenTofu to allow usage of OpenTofu registry.

Describe alternatives you've considered N/A

Additional context

https://terragrunt.gruntwork.io/docs/reference/config-blocks-and-attributes/

The tfr protocol supports a shorthand notation where the REGISTRY_HOST can be omitted to default to the public registry (registry.terraform.io) if you use tfr:/// (note the three /). For example, the following will fetch the terraform-aws-modules/vpc/aws module from the public registry: tfr:///terraform-aws-modules/vpc/aws?version=3.3.0.

https://github.com/gruntwork-io/terragrunt/blob/master/options/options.go#L526

denis256 commented 7 months ago

Included in https://github.com/gruntwork-io/terragrunt/releases/tag/v0.55.17