@@ -92,21 +92,21 @@ resource "aws_kms_key" "eks_encryption_kms" {
92
92
resource "aws_security_group" "worker" {
93
93
name_prefix = " ${ var . cluster } -worker"
94
94
vpc_id = data. aws_vpc . lead_vpc . id
95
- description = " worker based security groups"
95
+ # description = "worker based security groups"
96
96
97
97
ingress {
98
- description = " Allow SSH access"
99
- from_port = 22
100
- to_port = 22
101
- protocol = " tcp"
98
+ # description = "Allow SSH access"
99
+ from_port = 22
100
+ to_port = 22
101
+ protocol = " tcp"
102
102
103
103
cidr_blocks = concat ([data . aws_vpc . lead_vpc . cidr_block ], var. enable_ssh_access ? [var . internal_vpn_subnet ] : [])
104
104
}
105
105
ingress {
106
- description = " Allow HTTPS access"
107
- from_port = 443
108
- to_port = 443
109
- protocol = " tcp"
106
+ # description = "Allow HTTPS access"
107
+ from_port = 443
108
+ to_port = 443
109
+ protocol = " tcp"
110
110
111
111
security_groups = [aws_security_group . elb . id ]
112
112
}
@@ -115,7 +115,7 @@ resource "aws_security_group" "worker" {
115
115
resource "aws_security_group" "elb" {
116
116
name_prefix = " ${ var . cluster } -ingress-elb"
117
117
vpc_id = data. aws_vpc . lead_vpc . id
118
- description = " Allow HTTPS access"
118
+ # description = "Allow HTTPS access"
119
119
120
120
tags = {
121
121
Name = " ${ var . cluster } -ingress-elb"
@@ -124,21 +124,21 @@ resource "aws_security_group" "elb" {
124
124
}
125
125
126
126
ingress {
127
- description = " Allow HTTP access"
128
- from_port = 80
129
- to_port = 80
130
- protocol = " tcp"
127
+ # description = "Allow HTTP access"
128
+ from_port = 80
129
+ to_port = 80
130
+ protocol = " tcp"
131
131
132
132
cidr_blocks = [
133
133
" 0.0.0.0/0" ,
134
134
]
135
135
}
136
136
137
137
ingress {
138
- description = " Allow HTTPS access"
139
- from_port = 443
140
- to_port = 443
141
- protocol = " tcp"
138
+ # description = "Allow HTTPS access"
139
+ from_port = 443
140
+ to_port = 443
141
+ protocol = " tcp"
142
142
143
143
cidr_blocks = [
144
144
" 0.0.0.0/0" ,
0 commit comments