Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions provisioner/terraform/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ var (
// TerraformVersion is the version of Terraform used internally
// when Terraform is not available on the system.
// NOTE: Keep this in sync with the version in scripts/Dockerfile.base.
TerraformVersion = version.Must(version.NewVersion("1.3.4"))
TerraformVersion = version.Must(version.NewVersion("1.4.6"))

minTerraformVersion = version.Must(version.NewVersion("1.1.0"))
maxTerraformVersion = version.Must(version.NewVersion("1.3.9"))
maxTerraformVersion = version.Must(version.NewVersion("1.4.9"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi. Is there a 1.4.9 version?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, I was just trying to give us some buffer.


terraformMinorVersionMismatch = xerrors.New("Terraform binary minor version mismatch.")
)
Expand Down
4 changes: 2 additions & 2 deletions scripts/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -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:latest
FROM alpine:3.18

# 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
Expand All @@ -12,7 +12,7 @@ RUN apk add --no-cache \
bash \
git \
openssh-client \
terraform=1.3.4-r4 && \
terraform=1.4.6-r1 && \
addgroup \
-g 1000 \
coder && \
Expand Down