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

DT-755 Update terraform and providers #376

Merged
merged 1 commit into from
Jan 25, 2024
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 .github/workflows/apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# Exposes stdout, stderr and exitcode as outputs for any steps that run terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.6.0
terraform_version: 1.7.0

- name: Terraform init
id: init
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Set up Terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.6.0
terraform_version: 1.7.0

- name: Terraform init
id: init
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.6.0
terraform_version: 1.7.0
- name: Check formatting of all Terraform files
run: terraform fmt -check -diff -recursive
tfsec:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/plan-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.6.0
terraform_version: 1.7.0
- name: Terraform init
run: terraform init -input=false
working-directory: terraform/test
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Set up Terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.6.0
terraform_version: 1.7.0
- name: Terraform init
run: terraform init -input=false
working-directory: terraform/staging
Expand All @@ -76,7 +76,7 @@ jobs:
- name: Set up Terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_version: 1.6.0
terraform_version: 1.7.0
- name: Terraform init
run: terraform init -input=false -backend=false
working-directory: terraform/production
Expand Down
10 changes: 5 additions & 5 deletions terraform/production/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.14.0"
version = "~> 5.33.0"
}
random = {
source = "hashicorp/random"
version = "~> 3.5.1"
version = "~> 3.6.0"
}
archive = {
source = "hashicorp/archive"
version = "~> 2.4.0"
version = "~> 2.4.1"
}
tls = {
source = "hashicorp/tls"
version = "~> 4.0.4"
version = "~> 4.0.5"
}
}

Expand All @@ -28,7 +28,7 @@ terraform {
region = "eu-west-1"
}

required_version = "~> 1.6.0"
required_version = "~> 1.7.0"
}

provider "aws" {
Expand Down
118 changes: 59 additions & 59 deletions terraform/staging/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions terraform/staging/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.14.0"
version = "~> 5.33.0"
}
random = {
source = "hashicorp/random"
version = "~> 3.5.1"
version = "~> 3.6.0"
}
archive = {
source = "hashicorp/archive"
version = "~> 2.4.0"
version = "~> 2.4.1"
}
tls = {
source = "hashicorp/tls"
version = "~> 4.0.4"
version = "~> 4.0.5"
}
}

Expand All @@ -28,7 +28,7 @@ terraform {
region = "eu-west-1"
}

required_version = "~> 1.6.0"
required_version = "~> 1.7.0"
}

provider "aws" {
Expand Down
Loading
Loading