diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 90b9185..f29e41a 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -1,5 +1,5 @@ name: "Terraform test" -on: [push, pull_request] +on: [pull_request] jobs: tflint: @@ -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 @@ -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 diff --git a/modules/containerd/version.tf b/modules/containerd/version.tf index d5a524c..00b2093 100644 --- a/modules/containerd/version.tf +++ b/modules/containerd/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2.0" + required_version = ">= 1.5.0" required_providers { ignition = { diff --git a/modules/docker/version.tf b/modules/docker/version.tf index d5a524c..00b2093 100644 --- a/modules/docker/version.tf +++ b/modules/docker/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2.0" + required_version = ">= 1.5.0" required_providers { ignition = { diff --git a/modules/ecr-helper/version.tf b/modules/ecr-helper/version.tf index d5a524c..00b2093 100644 --- a/modules/ecr-helper/version.tf +++ b/modules/ecr-helper/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2.0" + required_version = ">= 1.5.0" required_providers { ignition = { diff --git a/modules/legacy-cgroups/version.tf b/modules/legacy-cgroups/version.tf index d5a524c..00b2093 100644 --- a/modules/legacy-cgroups/version.tf +++ b/modules/legacy-cgroups/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2.0" + required_version = ">= 1.5.0" required_providers { ignition = { diff --git a/modules/locksmithd/version.tf b/modules/locksmithd/version.tf index d5a524c..00b2093 100644 --- a/modules/locksmithd/version.tf +++ b/modules/locksmithd/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2.0" + required_version = ">= 1.5.0" required_providers { ignition = { diff --git a/modules/node-exporter/version.tf b/modules/node-exporter/version.tf index d5a524c..00b2093 100644 --- a/modules/node-exporter/version.tf +++ b/modules/node-exporter/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2.0" + required_version = ">= 1.5.0" required_providers { ignition = { diff --git a/modules/ntp/version.tf b/modules/ntp/version.tf index d5a524c..00b2093 100644 --- a/modules/ntp/version.tf +++ b/modules/ntp/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2.0" + required_version = ">= 1.5.0" required_providers { ignition = { diff --git a/modules/sshd/version.tf b/modules/sshd/version.tf index d5a524c..00b2093 100644 --- a/modules/sshd/version.tf +++ b/modules/sshd/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2.0" + required_version = ">= 1.5.0" required_providers { ignition = { diff --git a/modules/systemd-networkd/version.tf b/modules/systemd-networkd/version.tf index d5a524c..00b2093 100644 --- a/modules/systemd-networkd/version.tf +++ b/modules/systemd-networkd/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2.0" + required_version = ">= 1.5.0" required_providers { ignition = { diff --git a/modules/update-ca-certificates/version.tf b/modules/update-ca-certificates/version.tf index d5a524c..00b2093 100644 --- a/modules/update-ca-certificates/version.tf +++ b/modules/update-ca-certificates/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2.0" + required_version = ">= 1.5.0" required_providers { ignition = { diff --git a/tests/main.tf b/tests/main.tf index 55c345e..85d69f1 100644 --- a/tests/main.tf +++ b/tests/main.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.2.0" + required_version = ">= 1.5.0" required_providers { ignition = {