1
1
locals {
2
2
cluster_name = " complex.example.com"
3
3
master_autoscaling_group_ids = [aws_autoscaling_group . master-us-test-1a-masters-complex-example-com . id ]
4
- master_security_group_ids = [aws_security_group . masters-complex-example-com . id , " nlb- sg-exampleid3" , " nlb- sg-exampleid4" ]
4
+ master_security_group_ids = [aws_security_group . masters-complex-example-com . id , " sg-exampleid3" , " sg-exampleid4" ]
5
5
masters_role_arn = aws_iam_role. masters-complex-example-com . arn
6
6
masters_role_name = aws_iam_role. masters-complex-example-com . name
7
7
node_autoscaling_group_ids = [aws_autoscaling_group . nodes-complex-example-com . id ]
8
- node_security_group_ids = [aws_security_group . nodes-complex-example-com . id , " nlb- sg-exampleid3" , " nlb- sg-exampleid4 " , " sg-exampleid3 " , " sg-exampleid4" ]
8
+ node_security_group_ids = [aws_security_group . nodes-complex-example-com . id , " sg-exampleid3" , " sg-exampleid3 " , " sg-exampleid4 " , " sg-exampleid4" ]
9
9
node_subnet_ids = [aws_subnet . us-test-1a-complex-example-com . id ]
10
10
nodes_role_arn = aws_iam_role. nodes-complex-example-com . arn
11
11
nodes_role_name = aws_iam_role. nodes-complex-example-com . name
@@ -25,7 +25,7 @@ output "master_autoscaling_group_ids" {
25
25
}
26
26
27
27
output "master_security_group_ids" {
28
- value = [aws_security_group . masters-complex-example-com . id , " nlb- sg-exampleid3" , " nlb- sg-exampleid4" ]
28
+ value = [aws_security_group . masters-complex-example-com . id , " sg-exampleid3" , " sg-exampleid4" ]
29
29
}
30
30
31
31
output "masters_role_arn" {
@@ -41,7 +41,7 @@ output "node_autoscaling_group_ids" {
41
41
}
42
42
43
43
output "node_security_group_ids" {
44
- value = [aws_security_group . nodes-complex-example-com . id , " nlb- sg-exampleid3" , " nlb- sg-exampleid4 " , " sg-exampleid3 " , " sg-exampleid4" ]
44
+ value = [aws_security_group . nodes-complex-example-com . id , " sg-exampleid3" , " sg-exampleid3 " , " sg-exampleid4 " , " sg-exampleid4" ]
45
45
}
46
46
47
47
output "node_subnet_ids" {
@@ -301,7 +301,7 @@ resource "aws_launch_template" "master-us-test-1a-masters-complex-example-com" {
301
301
network_interfaces {
302
302
associate_public_ip_address = true
303
303
delete_on_termination = true
304
- security_groups = [aws_security_group . masters-complex-example-com . id , " nlb- sg-exampleid3" , " nlb- sg-exampleid4" ]
304
+ security_groups = [aws_security_group . masters-complex-example-com . id , " sg-exampleid3" , " sg-exampleid4" ]
305
305
}
306
306
tag_specifications {
307
307
resource_type = " instance"
@@ -375,7 +375,7 @@ resource "aws_launch_template" "nodes-complex-example-com" {
375
375
network_interfaces {
376
376
associate_public_ip_address = true
377
377
delete_on_termination = true
378
- security_groups = [aws_security_group . nodes-complex-example-com . id , " nlb- sg-exampleid3" , " nlb- sg-exampleid4 " , " sg-exampleid3 " , " sg-exampleid4" ]
378
+ security_groups = [aws_security_group . nodes-complex-example-com . id , " sg-exampleid3" , " sg-exampleid3 " , " sg-exampleid4 " , " sg-exampleid4" ]
379
379
}
380
380
tag_specifications {
381
381
resource_type = " instance"
0 commit comments