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.07k stars 980 forks source link

Publish a gruntwork hosted Docker image of Terragrunt #2407

Open bschaatsbergen opened 1 year ago

bschaatsbergen commented 1 year ago

It would be very nice if we can have a Docker image hosted by gruntwork. This also makes it easier for users to pipe Terragrunt in their existing pipelines, instead of having to maintain and hand-roll your own Dockerfiles/images.

I would be happy to open a PR if there's a couple of :+1: on this issue.

denis256 commented 1 year ago

Hello, it may be challenging since different users may use different combinations of Terragrunt and Terraform

kevcube commented 1 year ago

In the meantime I use the alpine/terragrunt image.

denis256 commented 1 year ago

In my projects, I use a single docker image with tfenv and tgenv, and depending on project configurations is selected right version.

References:

https://github.com/tfutils/tfenv

https://github.com/cunymatthieu/tgenv