-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsecurity_group_rules.tf
26 lines (24 loc) · 1.06 KB
/
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
26
# resource "aws_security_group_rule" "pubtest_to_pritest_tcp_80_egress" {
# type = "egress"
# protocol = "tcp"
# from_port = 80
# to_port = 80
# security_group_id = "${module.microservice_pubtest.security_group_id}"
# source_security_group_id = "${module.microservice_pritest.security_group_id}"
# }
# resource "aws_security_group_rule" "pubtest_to_pritest_tcp_80_ingress" {
# type = "ingress"
# protocol = "tcp"
# from_port = 80
# to_port = 80
# source_security_group_id = "${module.microservice_pubtest.security_group_id}"
# security_group_id = "${module.microservice_pritest.security_group_id}"
# }
# resource "aws_security_group_rule" "core_to_s3-vpce_egress" {
# type = "egress"
# protocol = "tcp"
# from_port = 443
# to_port = 443
# prefix_list_ids = ["${aws_vpc_endpoint.s3.prefix_list_id}"]
# security_group_id = "${aws_security_group.core.id}"
# }