@@ -2,13 +2,12 @@ data "aws_availability_zones" "available" {}
22
33module "vpc" {
44 source = " terraform-aws-modules/vpc/aws"
5- version = " 2.5 .0"
5+ version = " 2.70 .0"
66 name = " ${ var . namespace } -vpc"
77 cidr = " 10.0.0.0/16"
88 azs = data. aws_availability_zones . available . names
99 private_subnets = [" 10.0.1.0/24" , " 10.0.2.0/24" , " 10.0.3.0/24" ]
1010 public_subnets = [" 10.0.101.0/24" , " 10.0.102.0/24" , " 10.0.103.0/24" ]
11- assign_generated_ipv6_cidr_block = true
1211 enable_nat_gateway = true
1312 single_nat_gateway = true
1413 tags = {
@@ -17,7 +16,7 @@ module "vpc" {
1716}
1817
1918module "consul_server_sg" {
20- source = " scottwinkler /sg/aws"
19+ source = " terraform-in-action /sg/aws"
2120 vpc_id = module. vpc . vpc_id
2221 ingress_rules = [
2322 {
@@ -44,7 +43,7 @@ module "consul_server_sg" {
4443}
4544
4645module "consul_lb_sg" {
47- source = " scottwinkler /sg/aws"
46+ source = " terraform-in-action /sg/aws"
4847 vpc_id = module. vpc . vpc_id
4948 ingress_rules = [
5049 {
@@ -55,7 +54,7 @@ module "consul_lb_sg" {
5554}
5655
5756module "nomad_server_sg" {
58- source = " scottwinkler /sg/aws"
57+ source = " terraform-in-action /sg/aws"
5958 vpc_id = module. vpc . vpc_id
6059 ingress_rules = [
6160 {
@@ -86,7 +85,7 @@ module "nomad_server_sg" {
8685}
8786
8887module "nomad_lb_sg" {
89- source = " scottwinkler /sg/aws"
88+ source = " terraform-in-action /sg/aws"
9089 vpc_id = module. vpc . vpc_id
9190 ingress_rules = [
9291 {
@@ -97,7 +96,7 @@ module "nomad_lb_sg" {
9796}
9897
9998module "nomad_client_sg" {
100- source = " scottwinkler /sg/aws"
99+ source = " terraform-in-action /sg/aws"
101100 vpc_id = module. vpc . vpc_id
102101 ingress_rules = [
103102 {
@@ -140,7 +139,7 @@ module "nomad_client_sg" {
140139}
141140
142141module "fabio_lb_sg" {
143- source = " scottwinkler /sg/aws"
142+ source = " terraform-in-action /sg/aws"
144143 vpc_id = module. vpc . vpc_id
145144 ingress_rules = [
146145 {
0 commit comments