-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| # About | ||
|
|
||
| This describes how to use the aws-common-securit-grous submodule for ois-scanner. This sets up | ||
| a module for a security group in the respective VPC. When construting a new VPC, we want to include | ||
| this module. This should be in each VPC we have, in production. We probably need a similar one | ||
| for the CAT environment, but we'll tackle that when we get to it. | ||
|
|
||
| # Usage | ||
|
|
||
| ```code | ||
| module "ois-scanner" { | ||
| source = "git::https://vc1.csvd.census.gov/terraform-modules/aws-common-security-groups.git/ois-scanner" | ||
| vpc_id = "${var.vpc_id}" | ||
| tags = { } | ||
| # Name, CostAllocation, and Environment are pre-set | ||
| } | ||
| ``` | ||
|
|
||
| ## Required Inputs | ||
|
|
||
| The following input variables are required: | ||
|
|
||
| ### vpc\_id | ||
|
|
||
| Description: VPC ID Number | ||
|
|
||
| Type: `string` | ||
|
|
||
| ## Optional Inputs | ||
|
|
||
| The following input variables are optional (have default values): | ||
|
|
||
| ### tags | ||
|
|
||
| Description: Extra security group tags | ||
|
|
||
| Type: `map` | ||
|
|
||
| Default: `<map>` | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters