Skip to content

Commit 074faec

Browse files
authored
chore: update Terraform to 1.9.8 (coder#15256)
1 parent 516ba9e commit 074faec

File tree

46 files changed

+228
-223
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+228
-223
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.9.2
10+
terraform_version: 1.9.8
1111
terraform_wrapper: false

docs/install/offline.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ RUN mkdir -p /opt/terraform
5454
# The below step is optional if you wish to keep the existing version.
5555
# See https://github.com/coder/coder/blob/main/provisioner/terraform/install.go#L23-L24
5656
# for supported Terraform versions.
57-
ARG TERRAFORM_VERSION=1.9.2
57+
ARG TERRAFORM_VERSION=1.9.8
5858
RUN apk update && \
5959
apk del terraform && \
6060
curl -LOs https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \

dogfood/contents/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ RUN apt-get update --quiet && apt-get install --yes \
189189
# Configure FIPS-compliant policies
190190
update-crypto-policies --set FIPS
191191

192-
# NOTE: In scripts/Dockerfile.base we specifically install Terraform version 1.9.2.
192+
# NOTE: In scripts/Dockerfile.base we specifically install Terraform version 1.9.8.
193193
# Installing the same version here to match.
194-
RUN wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.9.2/terraform_1.9.2_linux_amd64.zip" && \
194+
RUN wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.9.8/terraform_1.9.8_linux_amd64.zip" && \
195195
unzip /tmp/terraform.zip -d /usr/local/bin && \
196196
rm -f /tmp/terraform.zip && \
197197
chmod +x /usr/local/bin/terraform && \

install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ EOF
250250
main() {
251251
MAINLINE=1
252252
STABLE=0
253-
TERRAFORM_VERSION="1.9.2"
253+
TERRAFORM_VERSION="1.9.8"
254254

255255
if [ "${TRACE-}" ]; then
256256
set -x

provisioner/terraform/install.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var (
2020
// when Terraform is not available on the system.
2121
// NOTE: Keep this in sync with the version in scripts/Dockerfile.base.
2222
// NOTE: Keep this in sync with the version in install.sh.
23-
TerraformVersion = version.Must(version.NewVersion("1.9.2"))
23+
TerraformVersion = version.Must(version.NewVersion("1.9.8"))
2424

2525
minTerraformVersion = version.Must(version.NewVersion("1.1.0"))
2626
maxTerraformVersion = version.Must(version.NewVersion("1.9.9")) // use .9 to automatically allow patch releases

provisioner/terraform/testdata/calling-module/calling-module.tfplan.json

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

provisioner/terraform/testdata/calling-module/calling-module.tfstate.json

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

provisioner/terraform/testdata/chaining-resources/chaining-resources.tfplan.json

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

provisioner/terraform/testdata/chaining-resources/chaining-resources.tfstate.json

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

provisioner/terraform/testdata/conflicting-resources/conflicting-resources.tfplan.json

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

provisioner/terraform/testdata/conflicting-resources/conflicting-resources.tfstate.json

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

provisioner/terraform/testdata/display-apps-disabled/display-apps-disabled.tfplan.json

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

provisioner/terraform/testdata/display-apps-disabled/display-apps-disabled.tfstate.json

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

provisioner/terraform/testdata/display-apps/display-apps.tfplan.json

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

provisioner/terraform/testdata/display-apps/display-apps.tfstate.json

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

provisioner/terraform/testdata/external-auth-providers/external-auth-providers.tfplan.json

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

provisioner/terraform/testdata/external-auth-providers/external-auth-providers.tfstate.json

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

0 commit comments

Comments
 (0)