-
Notifications
You must be signed in to change notification settings - Fork 0
/
secgroups.tf
62 lines (56 loc) · 1.91 KB
/
secgroups.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
resource "openstack_networking_secgroup_v2" "neo4j" {
name = "neo4j"
description = "Security group for the neo4j example instances"
}
resource "openstack_networking_secgroup_rule_v2" "neo4j" {
direction = "ingress"
ethertype = "IPv4"
protocol = "icmp"
remote_ip_prefix = "0.0.0.0/0"
security_group_id = "${openstack_networking_secgroup_v2.neo4j.id}"
}
resource "openstack_networking_secgroup_rule_v2" "neo4j_22" {
direction = "ingress"
ethertype = "IPv4"
protocol = "tcp"
port_range_min = 22
port_range_max = 22
remote_ip_prefix = "0.0.0.0/0"
security_group_id = "${openstack_networking_secgroup_v2.neo4j.id}"
}
resource "openstack_networking_secgroup_rule_v2" "neo4j_80" {
direction = "ingress"
ethertype = "IPv4"
protocol = "tcp"
port_range_min = 80
port_range_max = 80
remote_ip_prefix = "0.0.0.0/0"
security_group_id = "${openstack_networking_secgroup_v2.neo4j.id}"
}
resource "openstack_networking_secgroup_rule_v2" "neo4j_7474" {
direction = "ingress"
ethertype = "IPv4"
protocol = "tcp"
port_range_min = 7474
port_range_max = 7474
remote_ip_prefix = "0.0.0.0/0"
security_group_id = "${openstack_networking_secgroup_v2.neo4j.id}"
}
resource "openstack_networking_secgroup_rule_v2" "neo4j_7687" {
direction = "ingress"
ethertype = "IPv4"
protocol = "tcp"
port_range_min = 7687
port_range_max = 7687
remote_ip_prefix = "0.0.0.0/0"
security_group_id = "${openstack_networking_secgroup_v2.neo4j.id}"
}
resource "openstack_networking_secgroup_rule_v2" "neo4j_2376" {
direction = "ingress"
ethertype = "IPv4"
protocol = "tcp"
port_range_min = 2376
port_range_max = 2376
remote_ip_prefix = "0.0.0.0/0"
security_group_id = "${openstack_networking_secgroup_v2.neo4j.id}"
}