Skip to content

Instantly share code, notes, and snippets.

@stibi
Last active September 14, 2018 12:30
Show Gist options
  • Save stibi/f9b0f644f18a31ef2ff353a9150f64e4 to your computer and use it in GitHub Desktop.
Save stibi/f9b0f644f18a31ef2ff353a9150f64e4 to your computer and use it in GitHub Desktop.
I'm testing something…
module "test-sg" {
source = "../../modules/terraform-aws-security-group"
name = "${var.name}-test"
vpc_id = "${module.vpc.vpc_id}"
ingress_with_cidr_blocks = [
{
rule = "ssh-tcp"
description = "test01"
cidr_blocks = "195.39.14.130/32"
},
{
rule = "ssh-tcp"
description = "test022"
cidr_blocks = "1.2.3.4/32"
},
{
rule = "ssh-tcp"
description = "test02"
cidr_blocks = "195.39.14.130/32"
},
{
rule = "ssh-tcp"
description = "test03"
cidr_blocks = "195.39.14.130/32"
},
{
rule = "ssh-tcp"
description = "test04"
cidr_blocks = "195.39.14.130/32"
},
{
rule = "ssh-tcp"
description = "test044"
cidr_blocks = "1.2.3.4/32"
},
{
rule = "ssh-tcp"
description = "test05"
cidr_blocks = "195.39.14.130/32"
}
]
egress_with_cidr_blocks = [
{
rule = "all-all"
description = "All"
cidr_blocks = "0.0.0.0/0"
}
]
tags = "${var.tags}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment