Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade terraform version #329

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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 concourse-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM ghcr.io/alphagov/paas/bosh-cli-v2:main

ENV AWSCLI_VERSION "1.19.112"
ENV PATH $PATH:/usr/local/bin
ENV TERRAFORM_VER 1.5.2
ENV TERRAFORM_SUM 781ffe0c8888d35b3f5bd0481e951cebe9964b9cfcb27e352f22687975401bcd
ENV TERRAFORM_VER 1.9.2
ENV TERRAFORM_SUM d5f5aaba0f8ebff88ef0b23935872e154e2abf3172596261be834605ba3ba714
ENV TERRAFORM_ZIP terraform_${TERRAFORM_VER}_linux_amd64.zip

RUN apt-get update && apt-get install -y \
Expand Down
8 changes: 4 additions & 4 deletions concourse-tools/plugin_cache.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "5.9.0"
version = "5.59.0"
}
null = {
source = "hashicorp/null"
version = "3.1.1"
version = "3.2.2"
}
random = {
source = "hashicorp/random"
version = "3.5.1"
version = "3.6.2"
}
}
required_version = "1.5.2"
required_version = "1.9.2"
}

2 changes: 1 addition & 1 deletion concourse-tools/terraform_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
it "has the expected Terraform version" do
expect(
command("terraform version").stdout
).to match("Terraform v1.5.2")
).to match("Terraform v1.9.2")
end

it "installs SSH" do
Expand Down
4 changes: 2 additions & 2 deletions terraform/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM ghcr.io/alphagov/paas/alpine:main

ENV PATH $PATH:/usr/local/bin
ENV TERRAFORM_VER 1.5.2
ENV TERRAFORM_SUM 781ffe0c8888d35b3f5bd0481e951cebe9964b9cfcb27e352f22687975401bcd
ENV TERRAFORM_VER 1.9.2
ENV TERRAFORM_SUM d5f5aaba0f8ebff88ef0b23935872e154e2abf3172596261be834605ba3ba714
ENV TERRAFORM_ZIP terraform_${TERRAFORM_VER}_linux_amd64.zip

RUN apk add --no-cache openssl openssh-client ca-certificates
Expand Down
8 changes: 4 additions & 4 deletions terraform/plugin_cache.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "5.9.0"
version = "5.59.0"
}
null = {
source = "hashicorp/null"
version = "3.1.1"
version = "3.2.2"
}
random = {
source = "hashicorp/random"
version = "3.5.1"
version = "3.6.2"
}
}
required_version = "1.5.2"
required_version = "1.9.2"
}

2 changes: 1 addition & 1 deletion terraform/terraform_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
it "has the expected Terraform version" do
expect(
command("terraform version").stdout
).to match("Terraform v1.5.2")
).to match("Terraform v1.9.2")
end

it "installs SSH" do
Expand Down
Loading