File tree 6 files changed +9
-9
lines changed
6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 7
7
- name : Install Terraform
8
8
uses : hashicorp/setup-terraform@v3
9
9
with :
10
- terraform_version : 1.5.7
10
+ terraform_version : 1.7.5
11
11
terraform_wrapper : false
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ RUN mkdir -p /opt/terraform
54
54
# The below step is optional if you wish to keep the existing version.
55
55
# See https://github.com/coder/coder/blob/main/provisioner/terraform/install.go#L23-L24
56
56
# for supported Terraform versions.
57
- ARG TERRAFORM_VERSION=1.5.6
57
+ ARG TERRAFORM_VERSION=1.7.5
58
58
RUN apk update && \
59
59
apk del terraform && \
60
60
curl -LOs https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \
Original file line number Diff line number Diff line change @@ -169,9 +169,9 @@ RUN apt-get update --quiet && apt-get install --yes \
169
169
# Configure FIPS-compliant policies
170
170
update-crypto-policies --set FIPS
171
171
172
- # NOTE: In scripts/Dockerfile.base we specifically install Terraform version 1.6.6 .
172
+ # NOTE: In scripts/Dockerfile.base we specifically install Terraform version 1.7.5 .
173
173
# Installing the same version here to match.
174
- RUN wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.6.6 /terraform_1.6.6_linux_amd64 .zip" && \
174
+ RUN wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.7.5 /terraform_1.7.5_linux_amd64 .zip" && \
175
175
unzip /tmp/terraform.zip -d /usr/local/bin && \
176
176
rm -f /tmp/terraform.zip && \
177
177
chmod +x /usr/local/bin/terraform && \
Original file line number Diff line number Diff line change 250
250
main () {
251
251
MAINLINE=1
252
252
STABLE=0
253
- TERRAFORM_VERSION=" 1.6.6 "
253
+ TERRAFORM_VERSION=" 1.7.5 "
254
254
255
255
if [ " ${TRACE-} " ]; then
256
256
set -x
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ var (
20
20
// when Terraform is not available on the system.
21
21
// NOTE: Keep this in sync with the version in scripts/Dockerfile.base.
22
22
// NOTE: Keep this in sync with the version in install.sh.
23
- TerraformVersion = version .Must (version .NewVersion ("1.6.6 " ))
23
+ TerraformVersion = version .Must (version .NewVersion ("1.7.5 " ))
24
24
25
25
minTerraformVersion = version .Must (version .NewVersion ("1.1.0" ))
26
- maxTerraformVersion = version .Must (version .NewVersion ("1.6 .9" )) // use .9 to automatically allow patch releases
26
+ maxTerraformVersion = version .Must (version .NewVersion ("1.7 .9" )) // use .9 to automatically allow patch releases
27
27
28
28
terraformMinorVersionMismatch = xerrors .New ("Terraform binary minor version mismatch." )
29
29
)
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RUN apk add --no-cache \
10
10
curl \
11
11
wget \
12
12
bash \
13
- git \
13
+ git=2.43.4-r0 \
14
14
openssl \
15
15
openssh-client && \
16
16
addgroup \
@@ -26,7 +26,7 @@ RUN apk add --no-cache \
26
26
# Terraform was disabled in the edge repo due to a build issue.
27
27
# https://gitlab.alpinelinux.org/alpine/aports/-/commit/f3e263d94cfac02d594bef83790c280e045eba35
28
28
# Using wget for now. Note that busybox unzip doesn't support streaming.
29
- 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.6.6 /terraform_1.6.6_linux_ ${ARCH}.zip" && \
29
+ 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.7.5 /terraform_1.7.5_linux_ ${ARCH}.zip" && \
30
30
busybox unzip /tmp/terraform.zip -d /usr/local/bin && \
31
31
rm -f /tmp/terraform.zip && \
32
32
chmod +x /usr/local/bin/terraform && \
You can’t perform that action at this time.
0 commit comments