Skip to content

Commit ab59460

Browse files
authored
chore: bump terraform to v1.9.2 (#13899)
1 parent 17626b8 commit ab59460

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/install/offline.md

+2-2
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.8.4
57+
ARG TERRAFORM_VERSION=1.9.2
5858
RUN apk update && \
5959
apk del terraform && \
6060
curl -LOs https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \
@@ -79,7 +79,7 @@ ADD filesystem-mirror-example.tfrc /home/coder/.terraformrc
7979
# Optionally, we can "seed" the filesystem mirror with common providers.
8080
# Comment out lines 40-49 if you plan on only using a volume or network mirror:
8181
WORKDIR /home/coder/.terraform.d/plugins/registry.terraform.io
82-
ARG CODER_PROVIDER_VERSION=0.12.1
82+
ARG CODER_PROVIDER_VERSION=1.0.1
8383
RUN echo "Adding coder/coder v${CODER_PROVIDER_VERSION}" \
8484
&& mkdir -p coder/coder && cd coder/coder \
8585
&& curl -LOs https://github.com/coder/terraform-provider-coder/releases/download/v${CODER_PROVIDER_VERSION}/terraform-provider-coder_${CODER_PROVIDER_VERSION}_linux_amd64.zip

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.8.4"
253+
TERRAFORM_VERSION="1.9.2"
254254

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

provisioner/terraform/install.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ 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.8.4"))
23+
TerraformVersion = version.Must(version.NewVersion("1.9.2"))
2424

2525
minTerraformVersion = version.Must(version.NewVersion("1.1.0"))
26-
maxTerraformVersion = version.Must(version.NewVersion("1.8.9")) // use .9 to automatically allow patch releases
26+
maxTerraformVersion = version.Must(version.NewVersion("1.9.9")) // use .9 to automatically allow patch releases
2727

2828
terraformMinorVersionMismatch = xerrors.New("Terraform binary minor version mismatch.")
2929
)

0 commit comments

Comments
 (0)