Skip to content

Commit 05cad64

Browse files
Jamie-BitFlightosterman
authored andcommitted
Added missing environment output (#32)
* Added missing environment output * Regenerated readme
1 parent 6edc9b2 commit 05cad64

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ Available targets:
357357
| attributes | Normalized attributes |
358358
| context | Context of this module to pass between other modules |
359359
| delimiter | Delimiter used in label ID |
360+
| environment | Normalized environment |
360361
| id | Disambiguated ID |
361362
| name | Normalized name |
362363
| namespace | Normalized namespace |

docs/terraform.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
| attributes | Normalized attributes |
2222
| context | Context of this module to pass between other modules |
2323
| delimiter | Delimiter used in label ID |
24+
| environment | Normalized environment |
2425
| id | Disambiguated ID |
2526
| name | Normalized name |
2627
| namespace | Normalized namespace |

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ output "stage" {
1818
description = "Normalized stage"
1919
}
2020

21+
output "environment" {
22+
value = "${local.enabled ? local.environment : ""}"
23+
description = "Normalized environment"
24+
}
25+
2126
output "attributes" {
2227
value = "${local.enabled ? local.attributes : ""}"
2328
description = "Normalized attributes"

0 commit comments

Comments
 (0)