Skip to content

Commit

Permalink
describe icmp rule (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
sblack4 authored Jun 22, 2020
1 parent da685ff commit 0472bf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ resource "aws_security_group_rule" "allow_all_egress" {

resource "aws_security_group_rule" "allow_icmp_ingress" {
count = var.enabled ? 1 : 0
description = "Enables ping command from anywhere, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-rules-reference.html#sg-rules-ping"
type = "ingress"
from_port = 8
to_port = 0
Expand Down

0 comments on commit 0472bf6

Please sign in to comment.