diff --git a/emr/README.md b/emr/README.md index f1623ad..45667c2 100644 --- a/emr/README.md +++ b/emr/README.md @@ -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 = { } diff --git a/emr/main.tf b/emr/main.tf index 19d14aa..2e1ca8b 100644 --- a/emr/main.tf +++ b/emr/main.tf @@ -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 = { } diff --git a/examples/emr-security-group.tf b/examples/emr-security-group.tf new file mode 100644 index 0000000..cd791e4 --- /dev/null +++ b/examples/emr-security-group.tf @@ -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"] +}