-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add outputs to README for examples. Fixed 1 test case
- Loading branch information
Steven Nemetz
committed
May 17, 2018
1 parent
cbc9501
commit 78fa91d
Showing
8 changed files
with
219 additions
and
1 deletion.
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 |
---|---|---|
@@ -1 +1,32 @@ | ||
# Example using attributes | ||
|
||
### Attributes output: | ||
``` | ||
Outputs: | ||
attributes = role-policy-use | ||
environment = dev | ||
id = dev-capme-role-policy-use | ||
id_20 = dev-capme-role-poli | ||
id_32 = dev-capme-role-policy-use | ||
id_attr_20 = dev-role-policy-use | ||
id_attr_32 = dev-capme-role-policy-use | ||
id_env = dev-capme | ||
id_org = dev-capme | ||
name = capme | ||
org_attr_20 = 3 | ||
org_attr_32 = 9 | ||
organization = corpxyz | ||
tags = { | ||
Component = UNDEF | ||
Environment = dev | ||
Monitor = UNDEF | ||
Name = dev-capme-role-policy-use | ||
Organization = corpxyz | ||
Owner = UNDEF | ||
Product = UNDEF | ||
Service = UNDEF | ||
Team = UNDEF | ||
Terraform = true | ||
} | ||
``` |
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
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 |
---|---|---|
@@ -1 +1,32 @@ | ||
# Example using Environment namespace | ||
|
||
### Attributes output: | ||
``` | ||
Outputs: | ||
attributes = | ||
environment = dev | ||
id = dev-capme | ||
id_20 = dev-capme | ||
id_32 = dev-capme | ||
id_attr_20 = dev-capme | ||
id_attr_32 = dev-capme | ||
id_env = dev-capme | ||
id_org = dev-capme | ||
name = capme | ||
org_attr_20 = 9 | ||
org_attr_32 = 9 | ||
organization = corpxyz | ||
tags = { | ||
Component = UNDEF | ||
Environment = dev | ||
Monitor = UNDEF | ||
Name = dev-capme | ||
Organization = corpxyz | ||
Owner = UNDEF | ||
Product = UNDEF | ||
Service = UNDEF | ||
Team = UNDEF | ||
Terraform = true | ||
} | ||
``` |
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 |
---|---|---|
@@ -1 +1,32 @@ | ||
# Example basic module use | ||
|
||
### Attributes output: | ||
``` | ||
Outputs: | ||
attributes = | ||
environment = dev | ||
id = dev-capme | ||
id_20 = dev-capme | ||
id_32 = dev-capme | ||
id_attr_20 = dev-capme | ||
id_attr_32 = dev-capme | ||
id_env = dev-capme | ||
id_org = dev-capme | ||
name = capme | ||
org_attr_20 = 9 | ||
org_attr_32 = 9 | ||
organization = corpxyz | ||
tags = { | ||
Component = UNDEF | ||
Environment = dev | ||
Monitor = UNDEF | ||
Name = dev-capme | ||
Organization = corpxyz | ||
Owner = UNDEF | ||
Product = UNDEF | ||
Service = UNDEF | ||
Team = UNDEF | ||
Terraform = true | ||
} | ||
``` |
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 |
---|---|---|
@@ -1 +1,32 @@ | ||
# Example using both Environment and Organization name spaces | ||
|
||
### Attributes output: | ||
``` | ||
Outputs: | ||
attributes = | ||
environment = dev | ||
id = corpxyz-dev-capme | ||
id_20 = corpxyz-dev-capme | ||
id_32 = corpxyz-dev-capme | ||
id_attr_20 = corpxyz-dev-capme | ||
id_attr_32 = corpxyz-dev-capme | ||
id_env = dev-capme | ||
id_org = corpxyz-dev-capme | ||
name = capme | ||
org_attr_20 = 17 | ||
org_attr_32 = 17 | ||
organization = corpxyz | ||
tags = { | ||
Component = UNDEF | ||
Environment = dev | ||
Monitor = UNDEF | ||
Name = corpxyz-dev-capme | ||
Organization = corpxyz | ||
Owner = UNDEF | ||
Product = UNDEF | ||
Service = UNDEF | ||
Team = UNDEF | ||
Terraform = true | ||
} | ||
``` |
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 |
---|---|---|
@@ -1 +1,32 @@ | ||
# Example using Organization namespace | ||
|
||
### Attributes output: | ||
``` | ||
Outputs: | ||
attributes = | ||
environment = dev | ||
id = corpxyz-capme | ||
id_20 = corpxyz-capme | ||
id_32 = corpxyz-capme | ||
id_attr_20 = corpxyz-capme | ||
id_attr_32 = corpxyz-capme | ||
id_env = capme | ||
id_org = corpxyz-capme | ||
name = capme | ||
org_attr_20 = 13 | ||
org_attr_32 = 13 | ||
organization = corpxyz | ||
tags = { | ||
Component = UNDEF | ||
Environment = dev | ||
Monitor = UNDEF | ||
Name = corpxyz-capme | ||
Organization = corpxyz | ||
Owner = UNDEF | ||
Product = UNDEF | ||
Service = UNDEF | ||
Team = UNDEF | ||
Terraform = true | ||
} | ||
``` |
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 |
---|---|---|
@@ -1 +1,33 @@ | ||
# Example with all tags defined | ||
|
||
### Attributes output: | ||
``` | ||
Outputs: | ||
attributes = 8080 | ||
environment = dev | ||
id = dev-capme-8080 | ||
id_20 = dev-capme-8080 | ||
id_32 = dev-capme-8080 | ||
id_attr_20 = dev-capme-8080 | ||
id_attr_32 = dev-capme-8080 | ||
id_env = dev-capme | ||
id_org = dev-capme | ||
name = capme | ||
org_attr_20 = 9 | ||
org_attr_32 = 9 | ||
organization = corpxyz | ||
tags = { | ||
Component = Component A | ||
Environment = dev | ||
Key = Value | ||
Monitor = Monitor Datadog | ||
Name = dev-capme-8080 | ||
Organization = corpxyz | ||
Owner = Freddy | ||
Product = Product 1 | ||
Service = Service 1 | ||
Team = Backend developers | ||
Terraform = true | ||
} | ||
``` |
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 |
---|---|---|
@@ -1 +1,33 @@ | ||
# Example with additional tags | ||
|
||
### Attributes output: | ||
``` | ||
Outputs: | ||
attributes = 8080 | ||
environment = dev | ||
id = dev-capme-8080 | ||
id_20 = dev-capme-8080 | ||
id_32 = dev-capme-8080 | ||
id_attr_20 = dev-capme-8080 | ||
id_attr_32 = dev-capme-8080 | ||
id_env = dev-capme | ||
id_org = dev-capme | ||
name = capme | ||
org_attr_20 = 9 | ||
org_attr_32 = 9 | ||
organization = corpxyz | ||
tags = { | ||
Component = UNDEF | ||
Environment = dev | ||
Key = Value | ||
Monitor = UNDEF | ||
Name = dev-capme-8080 | ||
Organization = corpxyz | ||
Owner = UNDEF | ||
Product = UNDEF | ||
Service = UNDEF | ||
Team = UNDEF | ||
Terraform = true | ||
} | ||
``` |