diff --git a/docs/install/prepare/airgap.md b/docs/install/prepare/airgap.md index c0cad6801d0..88d19d93c62 100644 --- a/docs/install/prepare/airgap.md +++ b/docs/install/prepare/airgap.md @@ -50,7 +50,7 @@ RUN mkdir -p /opt/terraform # The below step is optional if you wish to keep the existing version. # See ../../provisioner/terraform/install.go#L27-L28 # for supported Terraform versions. -ARG TERRAFORM_VERSION=1.16.6 +ARG TERRAFORM_VERSION=1.16.7 RUN apk update && \ curl -LOs https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \ && unzip -o terraform_${TERRAFORM_VERSION}_linux_amd64.zip \ diff --git a/flake.nix b/flake.nix index 4f2cc24a995..212faed6364 100644 --- a/flake.nix +++ b/flake.nix @@ -195,28 +195,28 @@ releases = { x86_64-linux = { platform = "linux_amd64"; - hash = "sha256-OANLONAwljmaehJkoUVhqAKbK0lv0fFpRSZW5Tlo8bc="; + hash = "sha256-VFTvz3/IfwwhExEbmlxxgvDKHG8PI6HhEKUHcKj+Rzs="; }; aarch64-linux = { platform = "linux_arm64"; - hash = "sha256-p1C1oRA48WWEayZYxAyIzXBwqmemG6tDGhS6J5KOqeo="; + hash = "sha256-LWo/EJjelPFnKqpOaHPvka3p6sOIUdOkA+IAkZMgjeQ="; }; aarch64-darwin = { platform = "darwin_arm64"; - hash = "sha256-heG8eKtFvcX4KnusOSnjfQcoNKWE0iWDokmNxnu2JM0="; + hash = "sha256-gemNkYbgzRvIjK6yQDRT/dS97t1XTKTb6PtqKIDJxRo="; }; x86_64-darwin = { platform = "darwin_amd64"; - hash = "sha256-eUo2w/fr9sWPIInCJgaKU50XBbo1ilZ5tRZxyNx+vHs="; + hash = "sha256-0X0QU7y95lCoqRm3IY7yiG6sdsR0MG6ezYvWRCdAh0E="; }; }; target = releases.${system} or null; in if target != null then - pkgs.runCommand "terraform-1.16.6" { + pkgs.runCommand "terraform-1.16.7" { nativeBuildInputs = [ pkgs.unzip ]; src = pkgs.fetchurl { - url = "https://releases.hashicorp.com/terraform/1.16.6/terraform_1.16.6_${target.platform}.zip"; + url = "https://releases.hashicorp.com/terraform/1.16.7/terraform_1.16.7_${target.platform}.zip"; hash = target.hash; }; } '' diff --git a/go.mod b/go.mod index 9c0ba042c92..c5497787184 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/coder/coder/v2 -go 1.26.9 +go 1.26.10 // Required until a v3 of chroma is created to lazily initialize all XML files. // None of our dependencies seem to use the registries anyways, so this diff --git a/install.sh b/install.sh index dd67c3d4d31..030b09a3b26 100755 --- a/install.sh +++ b/install.sh @@ -276,7 +276,7 @@ EOF main() { MAINLINE=1 STABLE=0 - TERRAFORM_VERSION="1.16.6" + TERRAFORM_VERSION="1.16.7" if [ "${TRACE-}" ]; then set -x diff --git a/mise.lock b/mise.lock index 409c3ccac1c..8ef3184da4e 100644 --- a/mise.lock +++ b/mise.lock @@ -433,52 +433,52 @@ checksum = "sha256:e1245a0a760a45b236e7a25bf118c1defc8447734bdeb4260ea3ec15d1797 url = "https://github.com/digitalocean/doctl/releases/download/v1.158.0/doctl-1.158.0-windows-amd64.zip" [[tools.go]] -version = "1.26.9" +version = "1.26.10" backend = "core:go" [tools.go."platforms.linux-arm64"] -checksum = "sha256:4a97373d49fcacdcf3694fea368a500b00ee3e963974f3e7514132717632f052" -url = "https://dl.google.com/go/go1.26.9.linux-arm64.tar.gz" +checksum = "sha256:3f4227ce7b206a513e794f1393adb473a07b46e94d18bd15d1c684bbb7319797" +url = "https://dl.google.com/go/go1.26.10.linux-arm64.tar.gz" [tools.go."platforms.linux-arm64-musl"] -checksum = "sha256:4a97373d49fcacdcf3694fea368a500b00ee3e963974f3e7514132717632f052" -url = "https://dl.google.com/go/go1.26.9.linux-arm64.tar.gz" +checksum = "sha256:3f4227ce7b206a513e794f1393adb473a07b46e94d18bd15d1c684bbb7319797" +url = "https://dl.google.com/go/go1.26.10.linux-arm64.tar.gz" [tools.go."platforms.linux-x64"] -checksum = "sha256:42d158b4d8f7b61ac0a830567c940a86098fb7aac52e467a5ebec03ef5cc2f8d" -url = "https://dl.google.com/go/go1.26.9.linux-amd64.tar.gz" +checksum = "sha256:ccfe7ae822d2c2f41f4fe7c956199967a4dac22d0ee0d2b2bfdb440aab3b20c5" +url = "https://dl.google.com/go/go1.26.10.linux-amd64.tar.gz" [tools.go."platforms.linux-x64-baseline"] -checksum = "sha256:42d158b4d8f7b61ac0a830567c940a86098fb7aac52e467a5ebec03ef5cc2f8d" -url = "https://dl.google.com/go/go1.26.9.linux-amd64.tar.gz" +checksum = "sha256:ccfe7ae822d2c2f41f4fe7c956199967a4dac22d0ee0d2b2bfdb440aab3b20c5" +url = "https://dl.google.com/go/go1.26.10.linux-amd64.tar.gz" [tools.go."platforms.linux-x64-musl"] -checksum = "sha256:42d158b4d8f7b61ac0a830567c940a86098fb7aac52e467a5ebec03ef5cc2f8d" -url = "https://dl.google.com/go/go1.26.9.linux-amd64.tar.gz" +checksum = "sha256:ccfe7ae822d2c2f41f4fe7c956199967a4dac22d0ee0d2b2bfdb440aab3b20c5" +url = "https://dl.google.com/go/go1.26.10.linux-amd64.tar.gz" [tools.go."platforms.linux-x64-musl-baseline"] -checksum = "sha256:42d158b4d8f7b61ac0a830567c940a86098fb7aac52e467a5ebec03ef5cc2f8d" -url = "https://dl.google.com/go/go1.26.9.linux-amd64.tar.gz" +checksum = "sha256:ccfe7ae822d2c2f41f4fe7c956199967a4dac22d0ee0d2b2bfdb440aab3b20c5" +url = "https://dl.google.com/go/go1.26.10.linux-amd64.tar.gz" [tools.go."platforms.macos-arm64"] -checksum = "sha256:f9bb7c0a02506c5d9bf0d1eb1f7ee6c7684f844ae49558308a0427b830e022cc" -url = "https://dl.google.com/go/go1.26.9.darwin-arm64.tar.gz" +checksum = "sha256:0b5183492292ada170f9b561a834863808dd02edba599e4ad0e89899330020b3" +url = "https://dl.google.com/go/go1.26.10.darwin-arm64.tar.gz" [tools.go."platforms.macos-x64"] -checksum = "sha256:00c29e3d4c8562f547410daa18d2959b641bd691ab00c4a525ea817a0253d4bd" -url = "https://dl.google.com/go/go1.26.9.darwin-amd64.tar.gz" +checksum = "sha256:e820ab780c273ae4a340b79d0f3c4313b74ee029aa3874792145d44b9f4f91da" +url = "https://dl.google.com/go/go1.26.10.darwin-amd64.tar.gz" [tools.go."platforms.macos-x64-baseline"] -checksum = "sha256:00c29e3d4c8562f547410daa18d2959b641bd691ab00c4a525ea817a0253d4bd" -url = "https://dl.google.com/go/go1.26.9.darwin-amd64.tar.gz" +checksum = "sha256:e820ab780c273ae4a340b79d0f3c4313b74ee029aa3874792145d44b9f4f91da" +url = "https://dl.google.com/go/go1.26.10.darwin-amd64.tar.gz" [tools.go."platforms.windows-x64"] -checksum = "sha256:d722201a9c0c086d1610e111c48203009af690892ed708072bd5ae20160e7a59" -url = "https://dl.google.com/go/go1.26.9.windows-amd64.zip" +checksum = "sha256:7ecd2d7260e82c59bcbd7f1077a07cee2dea607295b858df67195a1e4e09629b" +url = "https://dl.google.com/go/go1.26.10.windows-amd64.zip" [tools.go."platforms.windows-x64-baseline"] -checksum = "sha256:d722201a9c0c086d1610e111c48203009af690892ed708072bd5ae20160e7a59" -url = "https://dl.google.com/go/go1.26.9.windows-amd64.zip" +checksum = "sha256:7ecd2d7260e82c59bcbd7f1077a07cee2dea607295b858df67195a1e4e09629b" +url = "https://dl.google.com/go/go1.26.10.windows-amd64.zip" [[tools."go:github.com/coder/paralleltestctx/cmd/paralleltestctx"]] version = "95009df793fb85bcbe71628e6dded30e5cfdb3c3" @@ -945,52 +945,52 @@ checksum = "sha256:7af7acb9f81bdddbc343855cb3a42e1d38ae9a1b044bfcd9b975a118d1078 url = "https://github.com/anchore/syft/releases/download/v1.26.1/syft_1.26.1_windows_amd64.zip" [[tools.terraform]] -version = "1.16.6" +version = "1.16.7" backend = "aqua:hashicorp/terraform" [tools.terraform."platforms.linux-arm64"] -checksum = "sha256:a750b5a11038f165846b2658c40c88cd7070aa67a61bab431a14ba27928ea9ea" -url = "https://releases.hashicorp.com/terraform/1.16.6/terraform_1.16.6_linux_arm64.zip" +checksum = "sha256:2d6a3f1098de94f1672aaa4e6873ef91ade9eac38851d3a403e2009193208de4" +url = "https://releases.hashicorp.com/terraform/1.16.7/terraform_1.16.7_linux_arm64.zip" [tools.terraform."platforms.linux-arm64-musl"] -checksum = "sha256:a750b5a11038f165846b2658c40c88cd7070aa67a61bab431a14ba27928ea9ea" -url = "https://releases.hashicorp.com/terraform/1.16.6/terraform_1.16.6_linux_arm64.zip" +checksum = "sha256:2d6a3f1098de94f1672aaa4e6873ef91ade9eac38851d3a403e2009193208de4" +url = "https://releases.hashicorp.com/terraform/1.16.7/terraform_1.16.7_linux_arm64.zip" [tools.terraform."platforms.linux-x64"] -checksum = "sha256:38034b38d03096399a7a1264a14561a8029b2b496fd1f169452656e53968f1b7" -url = "https://releases.hashicorp.com/terraform/1.16.6/terraform_1.16.6_linux_amd64.zip" +checksum = "sha256:5454efcf7fc87f0c2113111b9a5c7182f0ca1c6f0f23a1e110a50770a8fe473b" +url = "https://releases.hashicorp.com/terraform/1.16.7/terraform_1.16.7_linux_amd64.zip" [tools.terraform."platforms.linux-x64-baseline"] -checksum = "sha256:38034b38d03096399a7a1264a14561a8029b2b496fd1f169452656e53968f1b7" -url = "https://releases.hashicorp.com/terraform/1.16.6/terraform_1.16.6_linux_amd64.zip" +checksum = "sha256:5454efcf7fc87f0c2113111b9a5c7182f0ca1c6f0f23a1e110a50770a8fe473b" +url = "https://releases.hashicorp.com/terraform/1.16.7/terraform_1.16.7_linux_amd64.zip" [tools.terraform."platforms.linux-x64-musl"] -checksum = "sha256:38034b38d03096399a7a1264a14561a8029b2b496fd1f169452656e53968f1b7" -url = "https://releases.hashicorp.com/terraform/1.16.6/terraform_1.16.6_linux_amd64.zip" +checksum = "sha256:5454efcf7fc87f0c2113111b9a5c7182f0ca1c6f0f23a1e110a50770a8fe473b" +url = "https://releases.hashicorp.com/terraform/1.16.7/terraform_1.16.7_linux_amd64.zip" [tools.terraform."platforms.linux-x64-musl-baseline"] -checksum = "sha256:38034b38d03096399a7a1264a14561a8029b2b496fd1f169452656e53968f1b7" -url = "https://releases.hashicorp.com/terraform/1.16.6/terraform_1.16.6_linux_amd64.zip" +checksum = "sha256:5454efcf7fc87f0c2113111b9a5c7182f0ca1c6f0f23a1e110a50770a8fe473b" +url = "https://releases.hashicorp.com/terraform/1.16.7/terraform_1.16.7_linux_amd64.zip" [tools.terraform."platforms.macos-arm64"] -checksum = "sha256:85e1bc78ab45bdc5f82a7bac3929e37d072834a584d22583a2498dc67bb624cd" -url = "https://releases.hashicorp.com/terraform/1.16.6/terraform_1.16.6_darwin_arm64.zip" +checksum = "sha256:81e98d9186e0cd1bc88caeb2403453fdd4bdeedd574ca4dbe8fb6a2880c9c51a" +url = "https://releases.hashicorp.com/terraform/1.16.7/terraform_1.16.7_darwin_arm64.zip" [tools.terraform."platforms.macos-x64"] -checksum = "sha256:794a36c3f7ebf6c58f2089c226068a539d1705ba358a5679b51671c8dc7ebc7b" -url = "https://releases.hashicorp.com/terraform/1.16.6/terraform_1.16.6_darwin_amd64.zip" +checksum = "sha256:d17d1053bcbde650a8a919b7218ef2886eac76c474306e9ecd8bd64427408741" +url = "https://releases.hashicorp.com/terraform/1.16.7/terraform_1.16.7_darwin_amd64.zip" [tools.terraform."platforms.macos-x64-baseline"] -checksum = "sha256:794a36c3f7ebf6c58f2089c226068a539d1705ba358a5679b51671c8dc7ebc7b" -url = "https://releases.hashicorp.com/terraform/1.16.6/terraform_1.16.6_darwin_amd64.zip" +checksum = "sha256:d17d1053bcbde650a8a919b7218ef2886eac76c474306e9ecd8bd64427408741" +url = "https://releases.hashicorp.com/terraform/1.16.7/terraform_1.16.7_darwin_amd64.zip" [tools.terraform."platforms.windows-x64"] -checksum = "sha256:6ea2c186e0e76a113af30fbcdcf7a4b4c70756317994a04929e5c90b9e94b1df" -url = "https://releases.hashicorp.com/terraform/1.16.6/terraform_1.16.6_windows_amd64.zip" +checksum = "sha256:b22dfa64a9530c9b7774f840d98e9bfadc1ae33b1bd2083ffa976828c46e542c" +url = "https://releases.hashicorp.com/terraform/1.16.7/terraform_1.16.7_windows_amd64.zip" [tools.terraform."platforms.windows-x64-baseline"] -checksum = "sha256:6ea2c186e0e76a113af30fbcdcf7a4b4c70756317994a04929e5c90b9e94b1df" -url = "https://releases.hashicorp.com/terraform/1.16.6/terraform_1.16.6_windows_amd64.zip" +checksum = "sha256:b22dfa64a9530c9b7774f840d98e9bfadc1ae33b1bd2083ffa976828c46e542c" +url = "https://releases.hashicorp.com/terraform/1.16.7/terraform_1.16.7_windows_amd64.zip" [[tools.vercel]] version = "54.14.0" diff --git a/mise.toml b/mise.toml index efe95a5cfee..0be6812f5ac 100644 --- a/mise.toml +++ b/mise.toml @@ -9,7 +9,7 @@ lockfile = true [tools] # Languages and runtimes. bun = "1.2.15" -go = "1.26.9" +go = "1.26.10" node = "22.23.4" pnpm = "10.33.2" @@ -59,7 +59,7 @@ crane = "0.21.6" helm = "3.21.0" kubectx = "0.9.4" syft = "1.26.1" -terraform = "1.16.6" +terraform = "1.16.7" zizmor = "1.11.0" # Developer-environment niceties for the dogfood image. Non-dogfood diff --git a/provisioner/terraform/install.go b/provisioner/terraform/install.go index ab5f58c6270..57e061a3fd1 100644 --- a/provisioner/terraform/install.go +++ b/provisioner/terraform/install.go @@ -22,7 +22,7 @@ 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.16.6")) + TerraformVersion = version.Must(version.NewVersion("1.16.7")) minTerraformVersion = version.Must(version.NewVersion("1.1.0")) maxTerraformVersion = version.Must(version.NewVersion("1.16.9")) // use .9 to automatically allow patch releases diff --git a/provisioner/terraform/testdata/generation.sha1 b/provisioner/terraform/testdata/generation.sha1 index 242401993e5..5588a55a33c 100644 --- a/provisioner/terraform/testdata/generation.sha1 +++ b/provisioner/terraform/testdata/generation.sha1 @@ -1 +1 @@ -6c0c4588ca5921519627d4c1394da76b965b0e31 +24ac1d5b3f0cd208261e9d7651d4cc9235b02291 diff --git a/scripts/Dockerfile.base b/scripts/Dockerfile.base index b6a0da4f479..f4074ddabe9 100644 --- a/scripts/Dockerfile.base +++ b/scripts/Dockerfile.base @@ -1,7 +1,7 @@ # This is the base image used for Coder images. It's a multi-arch image that is # built in depot.dev for all supported architectures. Since it's built on real # hardware and not cross-compiled, it can have "RUN" commands. -FROM alpine:3.24.2@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6 +FROM alpine:3.24.3@sha256:be2656061b536c1883c4034790e21d0a09c5aaaf51968b89368a3c0371ea2c9a # We use a single RUN command to reduce the number of layers in the image. # NOTE: Keep the Terraform version in sync with minTerraformVersion and @@ -27,7 +27,7 @@ RUN apk add --no-cache \ # Terraform was disabled in the edge repo due to a build issue. # https://gitlab.alpinelinux.org/alpine/aports/-/commit/f3e263d94cfac02d594bef83790c280e045eba35 # 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"; elif [ "${ARCH}" == "armv7l" ]; then ARCH="arm"; fi; wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.16.6/terraform_1.16.6_linux_${ARCH}.zip" && \ +RUN ARCH="$(arch)"; if [ "${ARCH}" == "x86_64" ]; then ARCH="amd64"; elif [ "${ARCH}" == "aarch64" ]; then ARCH="arm64"; elif [ "${ARCH}" == "armv7l" ]; then ARCH="arm"; fi; wget -O /tmp/terraform.zip "https://releases.hashicorp.com/terraform/1.16.7/terraform_1.16.7_linux_${ARCH}.zip" && \ busybox unzip /tmp/terraform.zip -d /usr/local/bin && \ rm -f /tmp/terraform.zip && \ chmod +x /usr/local/bin/terraform && \