diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index 2cbe602c9c..e257647e19 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -950,7 +950,7 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v1 with: - terraform_version: 1.1.7 + terraform_version: 1.5.7 - name: Checkout repository uses: actions/checkout@v3 @@ -990,7 +990,7 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v1 with: - terraform_version: 1.1.7 + terraform_version: 1.5.7 - name: Setup Sops uses: mdgreenwald/mozilla-sops-action@v1.2.0 @@ -1054,7 +1054,7 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v1 with: - terraform_version: 1.1.7 + terraform_version: 1.5.7 - name: Setup Sops uses: mdgreenwald/mozilla-sops-action@v1.2.0 @@ -1128,7 +1128,7 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v1 with: - terraform_version: 1.1.7 + terraform_version: 1.5.7 - name: Setup Sops uses: mdgreenwald/mozilla-sops-action@v1.2.0 @@ -1196,7 +1196,7 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v1 with: - terraform_version: 1.1.7 + terraform_version: 1.5.7 - name: Setup Sops uses: mdgreenwald/mozilla-sops-action@v1.2.0 @@ -1264,7 +1264,7 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v1 with: - terraform_version: 1.1.7 + terraform_version: 1.5.7 - name: Setup Sops uses: mdgreenwald/mozilla-sops-action@v1.2.0 @@ -1327,7 +1327,7 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v1 with: - terraform_version: 1.1.7 + terraform_version: 1.5.7 - name: Setup Sops uses: mdgreenwald/mozilla-sops-action@v1.2.0 diff --git a/ops/infra/.terraform-version b/ops/infra/.terraform-version index a5ba932511..f01291b87f 100644 --- a/ops/infra/.terraform-version +++ b/ops/infra/.terraform-version @@ -1 +1 @@ -1.1.7 \ No newline at end of file +1.5.7 diff --git a/ops/mainnet/prod/backend/.terraform-version b/ops/mainnet/prod/backend/.terraform-version index a5ba932511..f01291b87f 100644 --- a/ops/mainnet/prod/backend/.terraform-version +++ b/ops/mainnet/prod/backend/.terraform-version @@ -1 +1 @@ -1.1.7 \ No newline at end of file +1.5.7 diff --git a/ops/mainnet/prod/core/.terraform-version b/ops/mainnet/prod/core/.terraform-version index a5ba932511..f01291b87f 100644 --- a/ops/mainnet/prod/core/.terraform-version +++ b/ops/mainnet/prod/core/.terraform-version @@ -1 +1 @@ -1.1.7 \ No newline at end of file +1.5.7 diff --git a/ops/modules/networking/main.tf b/ops/modules/networking/main.tf index 571e831442..3dfc7ad361 100755 --- a/ops/modules/networking/main.tf +++ b/ops/modules/networking/main.tf @@ -1,7 +1,7 @@ data "aws_availability_zones" "available" {} resource "aws_vpc" "main" { - cidr_block = var.cidr_block + cidr_block = var.cidr_block enable_dns_hostnames = true tags = { Environment = var.environment @@ -47,7 +47,7 @@ resource "aws_route" "internet_access" { #Create a NAT gateway with an EIP for each private subnet to get internet connectivity resource "aws_eip" "gw" { count = var.az_count - vpc = true + domain = "vpc" depends_on = [aws_internet_gateway.main] } diff --git a/ops/testnet/prod/backend/.terraform-version b/ops/testnet/prod/backend/.terraform-version index a5ba932511..f01291b87f 100644 --- a/ops/testnet/prod/backend/.terraform-version +++ b/ops/testnet/prod/backend/.terraform-version @@ -1 +1 @@ -1.1.7 \ No newline at end of file +1.5.7 diff --git a/ops/testnet/prod/core/.terraform-version b/ops/testnet/prod/core/.terraform-version index a5ba932511..f01291b87f 100644 --- a/ops/testnet/prod/core/.terraform-version +++ b/ops/testnet/prod/core/.terraform-version @@ -1 +1 @@ -1.1.7 \ No newline at end of file +1.5.7 diff --git a/ops/testnet/staging/backend/.terraform-version b/ops/testnet/staging/backend/.terraform-version index a5ba932511..f01291b87f 100644 --- a/ops/testnet/staging/backend/.terraform-version +++ b/ops/testnet/staging/backend/.terraform-version @@ -1 +1 @@ -1.1.7 \ No newline at end of file +1.5.7 diff --git a/ops/testnet/staging/core/.terraform-version b/ops/testnet/staging/core/.terraform-version index a5ba932511..f01291b87f 100644 --- a/ops/testnet/staging/core/.terraform-version +++ b/ops/testnet/staging/core/.terraform-version @@ -1 +1 @@ -1.1.7 \ No newline at end of file +1.5.7