Skip to content

Commit

Permalink
Add additional output values for cost center, data classification, re…
Browse files Browse the repository at this point in the history
…pository, and team
  • Loading branch information
brettcurtis committed Nov 2, 2024
1 parent 85fcf3d commit 117234d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,13 @@ No resources.

| Name | Description |
|------|-------------|
| <a name="output_cost_center"></a> [cost\_center](#output\_cost\_center) | The cost center the resources will be billed to |
| <a name="output_data_classification"></a> [data\_classification](#output\_data\_classification) | The data classification of the resources |
| <a name="output_env"></a> [env](#output\_env) | The short name for the environment for example prod, nonprod, sb |
| <a name="output_environment"></a> [environment](#output\_environment) | The environment name for example production, non-production, sandbox |
| <a name="output_labels"></a> [labels](#output\_labels) | A map of labels to apply to resources |
| <a name="output_region"></a> [region](#output\_region) | The region where resources will be deployed |
| <a name="output_repository"></a> [repository](#output\_repository) | The repository name |
| <a name="output_team"></a> [team](#output\_team) | The team name |
| <a name="output_zone"></a> [zone](#output\_zone) | The zone where resources will be deployed |
<!-- END_TF_DOCS -->
20 changes: 20 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Terraform Output Values
# https://www.terraform.io/language/values/outputs

output "cost_center" {
description = "The cost center the resources will be billed to"
value = var.cost_center
}

output "data_classification" {
description = "The data classification of the resources"
value = var.data_classification
}

output "env" {
description = "The short name for the environment for example prod, nonprod, sb"
value = local.env
Expand All @@ -21,6 +31,16 @@ output "region" {
value = local.region
}

output "repository" {
description = "The repository name"
value = var.repository
}

output "team" {
description = "The team name"
value = var.team
}

output "zone" {
description = "The zone where resources will be deployed"
value = local.zone
Expand Down

0 comments on commit 117234d

Please sign in to comment.