Skip to content

Commit

Permalink
aws-vpc: update aws provider minimum version to v5.
Browse files Browse the repository at this point in the history
* replace vpc attribute with domain for aws_eip resource.
  • Loading branch information
vtstanescu committed Apr 13, 2024
1 parent 48f60d7 commit dac3a50
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion config.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.0"
version = ">= 5.0"
}
}
}
2 changes: 1 addition & 1 deletion module-test/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.0"
version = ">= 5.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion modules/public-infra/nat_gateways.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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}" })
}
Expand Down

0 comments on commit dac3a50

Please sign in to comment.