Skip to content

Commit 79ca9cb

Browse files
committedOct 14, 2019
updated: removed port 80 from pritunl-web, added security id in output
1 parent 817d8f1 commit 79ca9cb

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed
 

‎main.tf

-9
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ resource "aws_security_group" "pritunl" {
1515
cidr_blocks = var.internal_cidrs
1616
}
1717

18-
# HTTP access for Let's Encrypt validation
19-
ingress {
20-
from_port = 80
21-
to_port = 80
22-
protocol = "tcp"
23-
24-
cidr_blocks = var.whitelist_http
25-
}
26-
2718
# HTTPS access
2819
ingress {
2920
from_port = 443

‎outputs.tf

+4
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ output "pritunl_private_ip" {
55
output "pritunl_public_ip" {
66
value = "${aws_instance.pritunl.public_ip}"
77
}
8+
9+
output "main_security_group_id" {
10+
value = "${aws_security_group.pritunl.id}"
11+
}

0 commit comments

Comments
 (0)
Failed to load comments.