Skip to content

Commit

Permalink
feat: upgrade terraform version to 1.5+
Browse files Browse the repository at this point in the history
  • Loading branch information
Downager committed Nov 3, 2023
1 parent 2398fc6 commit 64f9053
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Terraform test"
on: [push, pull_request]
on: [pull_request]

jobs:
tflint:
Expand All @@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: TFLint
uses: docker://wata727/tflint
uses: docker://ghcr.io/terraform-linters/tflint:v0.48.0

fmt-and-validate:
name: fmt and validate
Expand All @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@master
- name: Install terraform
env:
TF_VERSION: 1.2.8
TF_VERSION: 1.5.7
run: |
# Install terraform
wget https://releases.hashicorp.com/terraform/${TF_VERSION}/terraform_${TF_VERSION}_linux_amd64.zip -O /tmp/terraform.zip
Expand Down
2 changes: 1 addition & 1 deletion modules/containerd/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2.0"
required_version = ">= 1.5.0"

required_providers {
ignition = {
Expand Down
2 changes: 1 addition & 1 deletion modules/docker/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2.0"
required_version = ">= 1.5.0"

required_providers {
ignition = {
Expand Down
2 changes: 1 addition & 1 deletion modules/ecr-helper/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2.0"
required_version = ">= 1.5.0"

required_providers {
ignition = {
Expand Down
2 changes: 1 addition & 1 deletion modules/legacy-cgroups/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2.0"
required_version = ">= 1.5.0"

required_providers {
ignition = {
Expand Down
2 changes: 1 addition & 1 deletion modules/locksmithd/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2.0"
required_version = ">= 1.5.0"

required_providers {
ignition = {
Expand Down
2 changes: 1 addition & 1 deletion modules/node-exporter/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2.0"
required_version = ">= 1.5.0"

required_providers {
ignition = {
Expand Down
2 changes: 1 addition & 1 deletion modules/ntp/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2.0"
required_version = ">= 1.5.0"

required_providers {
ignition = {
Expand Down
2 changes: 1 addition & 1 deletion modules/sshd/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2.0"
required_version = ">= 1.5.0"

required_providers {
ignition = {
Expand Down
2 changes: 1 addition & 1 deletion modules/systemd-networkd/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2.0"
required_version = ">= 1.5.0"

required_providers {
ignition = {
Expand Down
2 changes: 1 addition & 1 deletion modules/update-ca-certificates/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2.0"
required_version = ">= 1.5.0"

required_providers {
ignition = {
Expand Down
2 changes: 1 addition & 1 deletion tests/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 1.2.0"
required_version = ">= 1.5.0"

required_providers {
ignition = {
Expand Down

0 comments on commit 64f9053

Please sign in to comment.