Skip to content

Commit

Permalink
Merge pull request #187 from ulucinar/tf-1.5.5
Browse files Browse the repository at this point in the history
Bump Terraform CLI to v1.5.5
  • Loading branch information
ulucinar authored Aug 28, 2023
2 parents 38b0361 + e89b3c3 commit fd4f716
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cluster/images/provider-terraform/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ RUN apk --no-cache add ca-certificates bash git curl
ARG TARGETOS
ARG TARGETARCH

ENV TERRAFORM_VERSION=1.5.2
ENV TERRAFORM_VERSION=1.5.5
ENV TF_IN_AUTOMATION=1
ENV TF_PLUGIN_CACHE_DIR=/tf/plugin-cache

ADD "bin/${TARGETOS}_${TARGETARCH}/provider" /usr/local/bin/crossplane-terraform-provider
ADD .gitconfig .gitconfig

RUN curl -s -L https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_${TARGETOS}_${TARGETARCH}.zip -o terraform.zip \
# Do not change the URL from which the Terraform CLI is downloaded.
# We are using an MPL-2.0 licensed version of the CLI and
# we must make sure that this holds true.
RUN curl -s -L https://github.com/upbound/terraform/releases/download/v${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_${TARGETOS}_${TARGETARCH}.zip -o terraform.zip \
&& unzip -d /usr/local/bin terraform.zip \
&& rm terraform.zip \
&& chmod +x /usr/local/bin/terraform \
Expand Down

0 comments on commit fd4f716

Please sign in to comment.