Skip to content

Commit

Permalink
Fix unknown rule in security_group module
Browse files Browse the repository at this point in the history
  • Loading branch information
iknite committed Feb 19, 2019
1 parent 0297c07 commit e8ee12e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion deploy/aws/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,14 @@ module "security_group" {
egress_rules = ["all-all"]

ingress_cidr_blocks = ["${chomp(data.http.ip.body)}/32"]
ingress_rules = ["http-8800-tcp", "all-icmp", "ssh-tcp" ]
ingress_rules = ["all-icmp", "ssh-tcp" ]
ingress_with_cidr_blocks = [
{
from_port = 8800
to_port = 8800
protocol = "tcp"
cidr_blocks = "${chomp(data.http.ip.body)}/32"
},
{
from_port = 6060
to_port = 6060
Expand Down

0 comments on commit e8ee12e

Please sign in to comment.