Commit ee9c7ad1 authored by Anton Babenko's avatar Anton Babenko

Updated example with all-icmp security group rule

parent 4244e61a
......@@ -40,8 +40,9 @@ module "security_group" {
description = "Security group for example usage with EC2 instance"
vpc_id = "${data.aws_vpc.default.id}"
ingress_cidr_blocks = ["0.0.0.0/0"]
ingress_rules = ["http-80-tcp"]
ingress_cidr_blocks = ["0.0.0.0/0"]
ingress_rules = ["http-80-tcp", "all-icmp"]
egress_rules = ["all-all"]
}
module "ec2" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment