Skip to content

Commit 3e67d46

Browse files
author
Sohan
committed
fix example
1 parent 2e7bf98 commit 3e67d46

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

_example/example.tf

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ module "vpc" {
1414
module "security_group" {
1515
source = "./../"
1616

17-
name = "security-group"
18-
environment = "test"
19-
label_order = ["name", "environment"]
20-
vpc_id = module.vpc.vpc_id
21-
protocol = "tcp"
22-
description = "Instance default security group (only egress access is allowed)."
23-
allowed_ip = ["172.16.0.0/16", "10.0.0.0/16"]
24-
allowed_ipv6 = ["2405:201:5e00:3684:cd17:9397:5734:a167/128"]
25-
allowed_ports = [22, 27017]
17+
name = "security-group"
18+
environment = "test"
19+
label_order = ["name", "environment"]
20+
21+
enable_security_group = true
22+
vpc_id = module.vpc.vpc_id
23+
protocol = "tcp"
24+
description = "Instance default security group (only egress access is allowed)."
25+
allowed_ip = ["172.16.0.0/16", "10.0.0.0/16"]
26+
allowed_ipv6 = ["2405:201:5e00:3684:cd17:9397:5734:a167/128"]
27+
allowed_ports = [22, 27017]
2628
}

0 commit comments

Comments
 (0)