Skip to content

Commit fd22e6e

Browse files
Scott WinklerScott Winkler
authored andcommitted
update
1 parent 1d9efcc commit fd22e6e

4 files changed

Lines changed: 8 additions & 25 deletions

File tree

modules/cluster/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
module "iam_instance_profile" {
3-
source = "scottwinkler/iip/aws"
3+
source = "terraform-in-action/iip/aws"
44
actions = ["logs:*", "ec2:DescribeInstances"]
55
}
66

modules/cluster/templates/startup.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ if [[ ${nomad_mode} != "disabled" ]]; then
114114
installNomad ${nomad_version}
115115
fi
116116

117-
118117
if [[ ${nomad_mode} == "client" ]]; then
119118
installDocker
120119
fi

modules/loadbalancing/main.tf

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,6 @@ resource "aws_lb_target_group" "fabio_ui" {
9090
protocol = "TCP"
9191
vpc_id = var.vpc.vpc_id
9292

93-
stickiness {
94-
type = "lb_cookie"
95-
enabled = false
96-
}
97-
9893
health_check {
9994
port = 4646
10095
}
@@ -121,11 +116,6 @@ resource "aws_lb_target_group" "fabio_lb" {
121116
protocol = "TCP"
122117
vpc_id = var.vpc.vpc_id
123118

124-
stickiness {
125-
type = "lb_cookie"
126-
enabled = false
127-
}
128-
129119
tags = {
130120
ResourceGroup = var.namespace
131121
}
@@ -152,11 +142,6 @@ resource "aws_lb_target_group" "fabio_db" {
152142
protocol = "TCP"
153143
vpc_id = var.vpc.vpc_id
154144

155-
stickiness {
156-
type = "lb_cookie"
157-
enabled = false
158-
}
159-
160145
tags = {
161146
ResourceGroup = var.namespace
162147
}

modules/networking/main.tf

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ data "aws_availability_zones" "available" {}
22

33
module "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

1918
module "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

4645
module "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

5756
module "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

8887
module "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

9998
module "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

142141
module "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

Comments
 (0)