diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e7790f2..8549229 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,12 +10,12 @@ jobs: verify: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version-file: test/go.mod - - uses: hashicorp/setup-terraform@v2 - - uses: terraform-linters/setup-tflint@v1 + - uses: hashicorp/setup-terraform@v3 + - uses: terraform-linters/setup-tflint@v4 - name: Terraform validate & format run: | diff --git a/config.tf b/config.tf index d8dd1a4..ddfcb0e 100644 --- a/config.tf +++ b/config.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 4.0" + version = ">= 5.0" } } } diff --git a/module-test/provider.tf b/module-test/provider.tf index c17964b..60a60f0 100644 --- a/module-test/provider.tf +++ b/module-test/provider.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 4.0" + version = ">= 5.0" } } diff --git a/modules/public-infra/nat_gateways.tf b/modules/public-infra/nat_gateways.tf index dee0041..0593253 100644 --- a/modules/public-infra/nat_gateways.tf +++ b/modules/public-infra/nat_gateways.tf @@ -3,7 +3,7 @@ resource "aws_eip" "nat" { for_each = toset(local.nat_gateway_azs) - vpc = true + domain = "vpc" tags = merge(var.tags, { Name = "${var.vpc.name}-nat-eip-${each.value}" }) }