mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore: bump terraform to v1.9.2 (#13899)
This commit is contained in:
committed by
GitHub
parent
17626b8dd1
commit
ab59460e2c
@@ -54,7 +54,7 @@ RUN mkdir -p /opt/terraform
|
||||
# The below step is optional if you wish to keep the existing version.
|
||||
# See https://github.com/coder/coder/blob/main/provisioner/terraform/install.go#L23-L24
|
||||
# for supported Terraform versions.
|
||||
ARG TERRAFORM_VERSION=1.8.4
|
||||
ARG TERRAFORM_VERSION=1.9.2
|
||||
RUN apk update && \
|
||||
apk del terraform && \
|
||||
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
|
||||
# Optionally, we can "seed" the filesystem mirror with common providers.
|
||||
# Comment out lines 40-49 if you plan on only using a volume or network mirror:
|
||||
WORKDIR /home/coder/.terraform.d/plugins/registry.terraform.io
|
||||
ARG CODER_PROVIDER_VERSION=0.12.1
|
||||
ARG CODER_PROVIDER_VERSION=1.0.1
|
||||
RUN echo "Adding coder/coder v${CODER_PROVIDER_VERSION}" \
|
||||
&& mkdir -p coder/coder && cd coder/coder \
|
||||
&& curl -LOs https://github.com/coder/terraform-provider-coder/releases/download/v${CODER_PROVIDER_VERSION}/terraform-provider-coder_${CODER_PROVIDER_VERSION}_linux_amd64.zip
|
||||
|
||||
+1
-1
@@ -250,7 +250,7 @@ EOF
|
||||
main() {
|
||||
MAINLINE=1
|
||||
STABLE=0
|
||||
TERRAFORM_VERSION="1.8.4"
|
||||
TERRAFORM_VERSION="1.9.2"
|
||||
|
||||
if [ "${TRACE-}" ]; then
|
||||
set -x
|
||||
|
||||
@@ -20,10 +20,10 @@ var (
|
||||
// when Terraform is not available on the system.
|
||||
// NOTE: Keep this in sync with the version in scripts/Dockerfile.base.
|
||||
// NOTE: Keep this in sync with the version in install.sh.
|
||||
TerraformVersion = version.Must(version.NewVersion("1.8.4"))
|
||||
TerraformVersion = version.Must(version.NewVersion("1.9.2"))
|
||||
|
||||
minTerraformVersion = version.Must(version.NewVersion("1.1.0"))
|
||||
maxTerraformVersion = version.Must(version.NewVersion("1.8.9")) // use .9 to automatically allow patch releases
|
||||
maxTerraformVersion = version.Must(version.NewVersion("1.9.9")) // use .9 to automatically allow patch releases
|
||||
|
||||
terraformMinorVersionMismatch = xerrors.New("Terraform binary minor version mismatch.")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user