Skip to content

Commit

Permalink
Merge pull request #8 from manics/update-tf-versions
Browse files Browse the repository at this point in the history
Update TF provider and module versions
  • Loading branch information
manics authored Nov 22, 2023
2 parents 897c91a + 64d39e7 commit 214a20c
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 65 deletions.
118 changes: 59 additions & 59 deletions ecs-cluster/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions ecs-cluster/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ terraform {
# by running `terraform init -backend=false -upgrade`
aws = {
source = "hashicorp/aws"
version = "~> 4.25"
version = "~> 5.26"
}

http = {
source = "hashicorp/http"
version = "~> 2.2"
version = "~> 3.4"
}

random = {
source = "hashicorp/random"
version = "~> 3.3"
version = "~> 3.5"
}

local = {
source = "hashicorp/local"
version = "~> 2.2"
version = "~> 2.4"
}
}

required_version = ">= 1.2.5"
required_version = ">= 1.5.0"
}

7 changes: 6 additions & 1 deletion ecs-cluster/vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ data "aws_availability_zones" "available" {}

module "vpc" {
source = "terraform-aws-modules/vpc/aws"
version = "3.14.2"
version = "5.2.0"

name = "${var.name}-vpc"
cidr = "10.199.0.0/16"
Expand All @@ -12,4 +12,9 @@ module "vpc" {
enable_nat_gateway = true
single_nat_gateway = true
enable_dns_hostnames = true

manage_default_security_group = false
manage_default_route_table = false
manage_default_network_acl = false
map_public_ip_on_launch = true
}

0 comments on commit 214a20c

Please sign in to comment.