Skip to content

Commit 8da568b

Browse files
sreyaClaude
and
Claude
authored
chore: update Terraform version from 1.11.0 to 1.11.2 (coder#17081)
🤖 Generated with [Claude Code](https://claude.ai/code) --------- Co-authored-by: Claude <claude@anthropic.com>
1 parent 4983150 commit 8da568b

File tree

8 files changed

+7
-14
lines changed

8 files changed

+7
-14
lines changed

.github/actions/setup-tf/action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ runs:
77
- name: Install Terraform
88
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
99
with:
10-
terraform_version: 1.11.0
10+
terraform_version: 1.11.2
1111
terraform_wrapper: false

dogfood/coder/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ RUN apt-get update --quiet && apt-get install --yes \
196196
# Configure FIPS-compliant policies
197197
update-crypto-policies --set FIPS
198198

199-
# NOTE: In scripts/Dockerfile.base we specifically install Terraform version 1.10.5.
199+
# NOTE: In scripts/Dockerfile.base we specifically install Terraform version 1.11.2.
200200
# Installing the same version here to match.
201-
RUN wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.11.0/terraform_1.11.0_linux_amd64.zip" && \
201+
RUN wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.11.2/terraform_1.11.2_linux_amd64.zip" && \
202202
unzip /tmp/terraform.zip -d /usr/local/bin && \
203203
rm -f /tmp/terraform.zip && \
204204
chmod +x /usr/local/bin/terraform && \

install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ EOF
273273
main() {
274274
MAINLINE=1
275275
STABLE=0
276-
TERRAFORM_VERSION="1.11.0"
276+
TERRAFORM_VERSION="1.11.2"
277277

278278
if [ "${TRACE-}" ]; then
279279
set -x

provisioner/terraform/install.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var (
2222
// when Terraform is not available on the system.
2323
// NOTE: Keep this in sync with the version in scripts/Dockerfile.base.
2424
// NOTE: Keep this in sync with the version in install.sh.
25-
TerraformVersion = version.Must(version.NewVersion("1.11.0"))
25+
TerraformVersion = version.Must(version.NewVersion("1.11.2"))
2626

2727
minTerraformVersion = version.Must(version.NewVersion("1.1.0"))
2828
maxTerraformVersion = version.Must(version.NewVersion("1.11.9")) // use .9 to automatically allow patch releases

provisioner/terraform/testdata/resources/presets/presets.tfplan.json

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

provisioner/terraform/testdata/resources/presets/presets.tfstate.json

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.0
1+
1.11.2

scripts/Dockerfile.base

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN apk add --no-cache \
2626
# Terraform was disabled in the edge repo due to a build issue.
2727
# https://gitlab.alpinelinux.org/alpine/aports/-/commit/f3e263d94cfac02d594bef83790c280e045eba35
2828
# 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.11.0/terraform_1.11.0_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.11.2/terraform_1.11.2_linux_${ARCH}.zip" && \
3030
busybox unzip /tmp/terraform.zip -d /usr/local/bin && \
3131
rm -f /tmp/terraform.zip && \
3232
chmod +x /usr/local/bin/terraform && \

0 commit comments

Comments
 (0)