-
Notifications
You must be signed in to change notification settings - Fork 0
/
ingress-rules.tf
77 lines (63 loc) · 2.12 KB
/
ingress-rules.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
resource "aws_vpc_security_group_ingress_rule" "ssh" {
security_group_id = module.security_group.security_group_id
cidr_ipv4 = "0.0.0.0/0"
from_port = 22
ip_protocol = "tcp"
to_port = 22
}
resource "aws_vpc_security_group_ingress_rule" "vnc" {
security_group_id = module.security_group.security_group_id
cidr_ipv4 = "0.0.0.0/0"
from_port = 5900
ip_protocol = "tcp"
to_port = 5900
}
resource "aws_vpc_security_group_ingress_rule" "novnc" {
security_group_id = module.security_group.security_group_id
cidr_ipv4 = "0.0.0.0/0"
from_port = 8080
ip_protocol = "tcp"
to_port = 8080
}
resource "aws_vpc_security_group_ingress_rule" "rdp" {
security_group_id = module.security_group.security_group_id
cidr_ipv4 = "0.0.0.0/0"
from_port = 3389
ip_protocol = "tcp"
to_port = 3389
}
resource "aws_vpc_security_group_ingress_rule" "sunshine_tcp" {
security_group_id = module.security_group.security_group_id
cidr_ipv4 = "0.0.0.0/0"
from_port = 47984
ip_protocol = "tcp"
to_port = 47990
}
resource "aws_vpc_security_group_ingress_rule" "sunshine_udp" {
security_group_id = module.security_group.security_group_id
cidr_ipv4 = "0.0.0.0/0"
from_port = 47998
ip_protocol = "udp"
to_port = 48000
}
resource "aws_vpc_security_group_ingress_rule" "sunshine_tcp2" {
security_group_id = module.security_group.security_group_id
cidr_ipv4 = "0.0.0.0/0"
from_port = 48010
ip_protocol = "tcp"
to_port = 48010
}
resource "aws_vpc_security_group_ingress_rule" "kubernetes" {
security_group_id = module.security_group.security_group_id
cidr_ipv4 = "0.0.0.0/0"
from_port = 6443
ip_protocol = "tcp"
to_port = 6443
}
resource "aws_vpc_security_group_ingress_rule" "nicedcv" {
security_group_id = module.security_group.security_group_id
cidr_ipv4 = "0.0.0.0/0"
from_port = 8443
ip_protocol = "tcp"
to_port = 8443
}