Hi,
I am a big fan of this project and have been actively using your Docker images for over a year now. 🙏
We manage our cloud stack with Terragrunt and use devopsinfra/docker-terragrunt in CI/CD for the deployment. Over the course of this year, multiple Terraform versions have been released (1.10 - 1.13). While upgrading Terragrunt is usually straightforward, we can only slowly and carefully upgrade Terraform due to the large number of modules scattered across projects, which all come together in the deployment. (We still use Terraform 1.9).
Therefore, it would be very helpful if this project could support multiple versions of Terraform or OpenTofu. For example:
devopsinfra/docker-terragrunt:tf-1.13.0-tg-0.86.2 (currenlty supported)
devopsinfra/docker-terragrunt:tf-1.12.2-tg-0.86.2
devopsinfra/docker-terragrunt:tf-1.11.4-tg-0.86.2
- ...
I took a look at the Makefile which seems to be the heart of the build and publish workflow, and I could imagine that adding a matrix parameter for the Terraform/OpenTofu versions that overwrites the version, e.g. TF_VERSION could be an option.
...
matrix:
flavour: [slim, plain, aws, azure, gcp, aws-azure, aws-gcp, azure-gcp, aws-azure-gcp]
tf-version: [1.13.0, 1.12.2, 1.11.4]
...
run: |
docker buildx create --use
make login
make push-${{ matrix.flavour }} TF_VERSION=${{ matrix.tf-version }}
...
What do you think?
Hi,
I am a big fan of this project and have been actively using your Docker images for over a year now. 🙏
We manage our cloud stack with Terragrunt and use
devopsinfra/docker-terragruntin CI/CD for the deployment. Over the course of this year, multiple Terraform versions have been released (1.10 - 1.13). While upgrading Terragrunt is usually straightforward, we can only slowly and carefully upgrade Terraform due to the large number of modules scattered across projects, which all come together in the deployment. (We still use Terraform 1.9).Therefore, it would be very helpful if this project could support multiple versions of Terraform or OpenTofu. For example:
devopsinfra/docker-terragrunt:tf-1.13.0-tg-0.86.2(currenlty supported)devopsinfra/docker-terragrunt:tf-1.12.2-tg-0.86.2devopsinfra/docker-terragrunt:tf-1.11.4-tg-0.86.2I took a look at the
Makefilewhich seems to be the heart of the build and publish workflow, and I could imagine that adding amatrixparameter for the Terraform/OpenTofu versions that overwrites the version, e.g.TF_VERSIONcould be an option.What do you think?