From 80026b068932ade85122b43d30f292d9438d8982 Mon Sep 17 00:00:00 2001 From: Arthur Normand Date: Fri, 28 Oct 2022 23:15:43 -0400 Subject: [PATCH 1/2] Fix link to supported terraform versions --- docs/install/offline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install/offline.md b/docs/install/offline.md index d162fa228b8f1..0fc4e60443dd7 100644 --- a/docs/install/offline.md +++ b/docs/install/offline.md @@ -6,7 +6,7 @@ Coder can run in offline / air-gapped environments. First, build and push a container image extending our official image with the following: -- Terraform [(supported versions)](https://github.com/coder/coder/blob/main/provisioner/terraform/serve.go#L24-L25) +- Terraform [(supported versions)](https://github.com/coder/coder/blob/main/provisioner/terraform/install.go#L23-L24) - CLI config (.tfrc) for Terraform referring to [external mirror](https://www.terraform.io/cli/config/config-file#explicit-installation-method-configuration) - [Terraform Providers](https://registry.terraform.io) for templates - These could also be specified via a volume mount (Docker) or [network mirror](https://www.terraform.io/internals/provider-network-mirror-protocol). See below for details. From d8b34cda59e42bef385620161c4beb526376dc65 Mon Sep 17 00:00:00 2001 From: Arthur Normand Date: Fri, 28 Oct 2022 23:36:00 -0400 Subject: [PATCH 2/2] Update offline.md --- docs/install/offline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install/offline.md b/docs/install/offline.md index 0fc4e60443dd7..2ab040c0cbfa0 100644 --- a/docs/install/offline.md +++ b/docs/install/offline.md @@ -27,7 +27,7 @@ RUN mkdir -p /opt/terraform # In order to run Coder airgapped or within private networks, # Terraform has to be bundled into the image in PATH or /opt. # -# See https://github.com/coder/coder/blob/main/provisioner/terraform/serve.go#L24-L25 +# See https://github.com/coder/coder/blob/main/provisioner/terraform/install.go#L23-L24 # for supported Terraform versions. ARG TERRAFORM_VERSION=1.3.0 RUN curl -LOs https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \