Skip to content

Commit

Permalink
updated: removed port 80 from pritunl-web, added security id in output
Browse files Browse the repository at this point in the history
  • Loading branch information
poush committed Oct 14, 2019
1 parent 817d8f1 commit 79ca9cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
9 changes: 0 additions & 9 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ resource "aws_security_group" "pritunl" {
cidr_blocks = var.internal_cidrs
}

# HTTP access for Let's Encrypt validation
ingress {
from_port = 80
to_port = 80
protocol = "tcp"

cidr_blocks = var.whitelist_http
}

# HTTPS access
ingress {
from_port = 443
Expand Down
4 changes: 4 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ output "pritunl_private_ip" {
output "pritunl_public_ip" {
value = "${aws_instance.pritunl.public_ip}"
}

output "main_security_group_id" {
value = "${aws_security_group.pritunl.id}"
}

0 comments on commit 79ca9cb

Please sign in to comment.