Skip to content

Commit 2a26be7

Browse files
authored
added example of how to call this module
1 parent ff8bb5a commit 2a26be7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
# terraform-aws-security-group
1+
# terraform-aws-security-group
2+
# Sample way of calling this module
3+
```
4+
module "sg" {
5+
source = "git@github.com:devops-made-easy/terraform-aws-security-group.git"
6+
version = "0.0.1"
7+
name = "DEVOPS-MADES-EASY-SG"
8+
description = "DEVOPS-MADES-EASY description"
9+
vpc_id = "vpc-xxxx"
10+
ingress_rules = [{"description": "description for ingress", "from_port": 443, "to_port": 443, "protocol": "HTTPS", "cidr_block": ["0.0.0.0/0"]}]
11+
egress_rules = [{"description": "description for engress", "from_port": 443, "to_port": 443, "protocol": "HTTPS", "cidr_block": ["0.0.0.0/0"]}]
12+
}
13+
```

0 commit comments

Comments
 (0)