Last active
September 14, 2018 12:30
-
-
Save stibi/f9b0f644f18a31ef2ff353a9150f64e4 to your computer and use it in GitHub Desktop.
I'm testing something…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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