Skip to content

Commit

Permalink
update usage
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jul 7, 2019
1 parent 464b915 commit 84c6f47
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
Usage:
# Usage

for terraform 0.11 v1.x use tf-0.11
for terraform 0.12 v2.x use tf-0.12 (until rolled into head) or specific version v2.x.y

```code
module "scanner" {
source = "vc1.csvd.census.gov:terraform-modules/aws-security-audit.git"
source = "../module/aws-security-audit"
source = "git::https://vc1.csvd.census.gov/terraform-modules/aws-security-audit.git?ref=tf-0.12
group = "g-audit-group"
users = [ "s-ois-scan" ]
email_addresses = [ "ois.compliance.scanning.group@census.gov" ]
create_access_keys = true
pgp_key = "${file("gpg-key.b64)}"
pgp_key = file(filename.b64)
}
```

Expand Down Expand Up @@ -75,3 +80,4 @@ Description: Access Secret Key IDs for Users

Description: Users created


4 changes: 3 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**
* Usage:
* # Usage
*
* for terraform 0.11 v1.x use tf-0.11
* for terraform 0.12 v2.x use tf-0.12 (until rolled into head) or specific version v2.x.y
*
* ```code
* module "scanner" {
* source = "../module/aws-security-audit"
* source = "git::https://vc1.csvd.census.gov/terraform-modules/aws-security-audit.git?ref=tf-0.12
Expand All @@ -14,6 +15,7 @@
* create_access_keys = true
* pgp_key = file(filename.b64)
* }
* ```
*/

locals {
Expand Down

0 comments on commit 84c6f47

Please sign in to comment.