From d9af5d1a1c7e39c916fa82d3224e8504ab854fbd Mon Sep 17 00:00:00 2001 From: Colin Adler Date: Tue, 10 Oct 2023 17:28:34 +0000 Subject: [PATCH] chore: upgrade Terraform to `1.5.7` --- scripts/Dockerfile.base | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/Dockerfile.base b/scripts/Dockerfile.base index 868e48fb2d9b5..ed5caba3558fa 100644 --- a/scripts/Dockerfile.base +++ b/scripts/Dockerfile.base @@ -25,7 +25,9 @@ RUN apk add --no-cache \ # Terraform was disabled in the edge repo due to a build issue. # https://gitlab.alpinelinux.org/alpine/aports/-/commit/f3e263d94cfac02d594bef83790c280e045eba35 # Using wget for now. Note that busybox unzip doesn't support streaming. -RUN ARCH="$(arch)"; if [ "${ARCH}" == "x86_64" ]; then ARCH="amd64"; elif [ "${ARCH}" == "aarch64" ]; then ARCH="arm64"; fi; wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.5.6/terraform_1.5.6_linux_${ARCH}.zip" && \ +# +# WARNING: Do not update to 1.6.x, as it is the first release licensed under BSL instead of MPL. +RUN ARCH="$(arch)"; if [ "${ARCH}" == "x86_64" ]; then ARCH="amd64"; elif [ "${ARCH}" == "aarch64" ]; then ARCH="arm64"; fi; wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.5.7/terraform_1.5.7_linux_${ARCH}.zip" && \ busybox unzip /tmp/terraform.zip -d /usr/local/bin && \ rm -f /tmp/terraform.zip && \ chmod +x /usr/local/bin/terraform && \