Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Dec 16, 2024
1 parent dc4d0aa commit c62945e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 2 additions & 3 deletions emr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ security groups, with the proper interrelationships, as follows:

```hcl
module "emr" {
source = "git@github.e.it.census.gov:terraform-modules/aws-common-security-groups.git//emr"
source = "git@github.e.it.census.gov:terraform-modules/aws-common-security-groups.git//emr?ref=tf-upgrade"
vpc_id = var.vpc_id
vpc_id = var.vpc_id
name_prefix = "edl-dev-124567"
## optional
# ingress_prefix_list_names = [ "onprem-networks.core" ]
# egress_prefix_list_names = [ ]
## tags for Name, CostAllocation, and Environment are pre-set, but they can be overriden
# tags = { }
Expand Down
5 changes: 2 additions & 3 deletions emr/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
*
* ```hcl
* module "emr" {
* source = "git@github.e.it.census.gov:terraform-modules/aws-common-security-groups.git//emr"
* source = "git@github.e.it.census.gov:terraform-modules/aws-common-security-groups.git//emr?ref=tf-upgrade"
*
* vpc_id = var.vpc_id
* vpc_id = var.vpc_id
* name_prefix = "edl-dev-124567"
* ## optional
* # ingress_prefix_list_names = [ "onprem-networks.core" ]
* # egress_prefix_list_names = [ ]
*
* ## tags for Name, CostAllocation, and Environment are pre-set, but they can be overriden
* # tags = { }
Expand Down
7 changes: 7 additions & 0 deletions examples/emr-security-group.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module "emr" {
source = "git@github.e.it.census.gov:terraform-modules/aws-common-security-groups.git//emr?ref=tf-upgrade"

vpc_id = var.vpc_id
name_prefix = "edl-dev-124567"
ingress_prefix_list_names = ["onprem-networks.core"]
}

0 comments on commit c62945e

Please sign in to comment.