chore: update Terraform version from 1.11.0 to 1.11.2 (#17081)

🤖 Generated with [Claude Code](https://claude.ai/code)

---------

Co-authored-by: Claude <claude@anthropic.com>
This commit is contained in:
Jon Ayers
2025-03-25 00:57:15 -05:00
committed by GitHub
parent 4983150ab9
commit 8da568b132
8 changed files with 7 additions and 14 deletions

View File

@ -7,5 +7,5 @@ runs:
- name: Install Terraform - name: Install Terraform
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
with: with:
terraform_version: 1.11.0 terraform_version: 1.11.2
terraform_wrapper: false terraform_wrapper: false

View File

@ -196,9 +196,9 @@ RUN apt-get update --quiet && apt-get install --yes \
# Configure FIPS-compliant policies # Configure FIPS-compliant policies
update-crypto-policies --set FIPS update-crypto-policies --set FIPS
# NOTE: In scripts/Dockerfile.base we specifically install Terraform version 1.10.5. # NOTE: In scripts/Dockerfile.base we specifically install Terraform version 1.11.2.
# Installing the same version here to match. # Installing the same version here to match.
RUN wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.11.0/terraform_1.11.0_linux_amd64.zip" && \ RUN wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.11.2/terraform_1.11.2_linux_amd64.zip" && \
unzip /tmp/terraform.zip -d /usr/local/bin && \ unzip /tmp/terraform.zip -d /usr/local/bin && \
rm -f /tmp/terraform.zip && \ rm -f /tmp/terraform.zip && \
chmod +x /usr/local/bin/terraform && \ chmod +x /usr/local/bin/terraform && \

View File

@ -273,7 +273,7 @@ EOF
main() { main() {
MAINLINE=1 MAINLINE=1
STABLE=0 STABLE=0
TERRAFORM_VERSION="1.11.0" TERRAFORM_VERSION="1.11.2"
if [ "${TRACE-}" ]; then if [ "${TRACE-}" ]; then
set -x set -x

View File

@ -22,7 +22,7 @@ var (
// when Terraform is not available on the system. // 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 scripts/Dockerfile.base.
// NOTE: Keep this in sync with the version in install.sh. // NOTE: Keep this in sync with the version in install.sh.
TerraformVersion = version.Must(version.NewVersion("1.11.0")) TerraformVersion = version.Must(version.NewVersion("1.11.2"))
minTerraformVersion = version.Must(version.NewVersion("1.1.0")) minTerraformVersion = version.Must(version.NewVersion("1.1.0"))
maxTerraformVersion = version.Must(version.NewVersion("1.11.9")) // use .9 to automatically allow patch releases maxTerraformVersion = version.Must(version.NewVersion("1.11.9")) // use .9 to automatically allow patch releases

View File

@ -21,7 +21,6 @@
"motd_file": null, "motd_file": null,
"order": null, "order": null,
"os": "windows", "os": "windows",
"resources_monitoring": [],
"shutdown_script": null, "shutdown_script": null,
"startup_script": null, "startup_script": null,
"startup_script_behavior": "non-blocking", "startup_script_behavior": "non-blocking",
@ -30,7 +29,6 @@
"sensitive_values": { "sensitive_values": {
"display_apps": [], "display_apps": [],
"metadata": [], "metadata": [],
"resources_monitoring": [],
"token": true "token": true
} }
}, },
@ -71,7 +69,6 @@
"motd_file": null, "motd_file": null,
"order": null, "order": null,
"os": "windows", "os": "windows",
"resources_monitoring": [],
"shutdown_script": null, "shutdown_script": null,
"startup_script": null, "startup_script": null,
"startup_script_behavior": "non-blocking", "startup_script_behavior": "non-blocking",
@ -82,14 +79,12 @@
"id": true, "id": true,
"init_script": true, "init_script": true,
"metadata": [], "metadata": [],
"resources_monitoring": [],
"token": true "token": true
}, },
"before_sensitive": false, "before_sensitive": false,
"after_sensitive": { "after_sensitive": {
"display_apps": [], "display_apps": [],
"metadata": [], "metadata": [],
"resources_monitoring": [],
"token": true "token": true
} }
} }

View File

@ -77,7 +77,6 @@
"motd_file": null, "motd_file": null,
"order": null, "order": null,
"os": "windows", "os": "windows",
"resources_monitoring": [],
"shutdown_script": null, "shutdown_script": null,
"startup_script": null, "startup_script": null,
"startup_script_behavior": "non-blocking", "startup_script_behavior": "non-blocking",
@ -89,7 +88,6 @@
{} {}
], ],
"metadata": [], "metadata": [],
"resources_monitoring": [],
"token": true "token": true
} }
}, },

View File

@ -1 +1 @@
1.11.0 1.11.2

View File

@ -26,7 +26,7 @@ RUN apk add --no-cache \
# Terraform was disabled in the edge repo due to a build issue. # Terraform was disabled in the edge repo due to a build issue.
# https://gitlab.alpinelinux.org/alpine/aports/-/commit/f3e263d94cfac02d594bef83790c280e045eba35 # https://gitlab.alpinelinux.org/alpine/aports/-/commit/f3e263d94cfac02d594bef83790c280e045eba35
# Using wget for now. Note that busybox unzip doesn't support streaming. # Using wget for now. Note that busybox unzip doesn't support streaming.
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" && \ 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" && \
busybox unzip /tmp/terraform.zip -d /usr/local/bin && \ busybox unzip /tmp/terraform.zip -d /usr/local/bin && \
rm -f /tmp/terraform.zip && \ rm -f /tmp/terraform.zip && \
chmod +x /usr/local/bin/terraform && \ chmod +x /usr/local/bin/terraform && \