-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsecurity.group-rules.tf
25 lines (22 loc) · 965 Bytes
/
security.group-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
/*
| --
| -- This list of security group rules can be overriden and you can provide
| -- your own rule port number mappings.
| --
*/
variable rules {
type = map( list( string ) )
default = {
"ssh" = [ "22", "22", "tcp", "secure shell" ]
"https" = [ "443", "443", "tcp", "http secured" ]
"http" = [ "80", "80", "tcp", "http plaintext" ]
"all-traffic" = [ "-1", "-1", "-1", "All protocols" ]
"ecs" = [ "32768", "61000", "tcp", "cluster comms" ]
"docker" = [ "5000", "5000", "tcp", "docker registry" ]
"java" = [ "8080", "8080", "tcp", "java port" ]
"jenkins" = [ "8080", "8080", "tcp", "jenkins ci" ]
"sonar" = [ "9000", "9000", "tcp", "sonarqube metrics" ]
"rmq-admin" = [ "15672", "15672", "tcp", "rabbitmq admin cli" ]
"postgres" = [ "5432", "5432", "tcp", "postgresql db" ]
}
}