Skip to content

Commit

Permalink
add description to ingress, egress
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jul 2, 2019
1 parent af51403 commit 7025950
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ois-scanner/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,24 @@ locals {
"172.18.33.211/32",
"172.18.33.213/32",
]
description = "common: OIS scanners and OIS subnets full access for compliance scanning"
}

resource "aws_security_group" "this_security_group" {
name = "${var.name}"
description = "common: allows OIS scanners and OIS subnets full access for compliance scanning"
description = "${local.description}"
vpc_id = "${var.vpc_id}"

ingress {
description = "ALL: ${local.description}"
from_port = 0
to_port = 0
protocol = -1
cidr_blocks = "${local.ipv4_cidr}"
}

egress {
description = "ALL: ${local.description}"
from_port = 0
to_port = 0
protocol = -1
Expand Down

0 comments on commit 7025950

Please sign in to comment.