Closed kravvcu closed 2 years ago
this image is focusing on terragrunt, not really care of Terraform versions. In most case, you should update your terraform to latest, which is GA ready (1.0.x), 0.13 are several years old already.
Oh boi, np, thought you were attempting for completeness. My bad.
For anyone wanting to use 0.13.7 in CI/CD I'll leave my Dockerfile definition which just swaps 0.13.6 to 0.13.7. You could also just copy the two steps to a pre-step in your job definition (although that would make you pull the binary each time):
FROM alpine/terragrunt:0.13.6
ENV TERRAFORM_VERSION=0.13.7
RUN wget "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip" -O terraform.zip
RUN unzip terraform.zip -d /bin/ -o
Just an FYI that the 0.13.7 version of the image is missing. Terraform 0.13.7 was released in april.