Skip to content

Commit

Permalink
added example of how to call this module
Browse files Browse the repository at this point in the history
  • Loading branch information
ntmspavan authored May 13, 2020
1 parent ff8bb5a commit 2a26be7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
# terraform-aws-security-group
# terraform-aws-security-group
# Sample way of calling this module
```
module "sg" {
source = "git@github.com:devops-made-easy/terraform-aws-security-group.git"
version = "0.0.1"
name = "DEVOPS-MADES-EASY-SG"
description = "DEVOPS-MADES-EASY description"
vpc_id = "vpc-xxxx"
ingress_rules = [{"description": "description for ingress", "from_port": 443, "to_port": 443, "protocol": "HTTPS", "cidr_block": ["0.0.0.0/0"]}]
egress_rules = [{"description": "description for engress", "from_port": 443, "to_port": 443, "protocol": "HTTPS", "cidr_block": ["0.0.0.0/0"]}]
}
```

0 comments on commit 2a26be7

Please sign in to comment.