From 3e5f9ec7a75ebfaf7907f327ed88353553371b5c Mon Sep 17 00:00:00 2001 From: Stephen Hoekstra Date: Mon, 4 Mar 2024 15:54:16 +0100 Subject: [PATCH] fix(output): Add missing `workload_name` output (#60) * fix(output): Add missing `workload_name` output Signed-off-by: Stephen Hoekstra --- README.md | 1 + outputs.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 42d273a..ec38a26 100644 --- a/README.md +++ b/README.md @@ -137,4 +137,5 @@ The above custom role is similar to the "write" pre-existing role, but blocks ac |------|-------------| | [arn](#output\_arn) | The workspace IAM user ARN | | [workspace\_id](#output\_workspace\_id) | The Terraform Cloud workspace ID | +| [workspace\_name](#output\_workspace\_name) | The Terraform Cloud workspace name | diff --git a/outputs.tf b/outputs.tf index 0ea7bdd..a4b0450 100644 --- a/outputs.tf +++ b/outputs.tf @@ -3,6 +3,11 @@ output "arn" { description = "The workspace IAM user ARN" } +output "workspace_name" { + value = tfe_workspace.default.name + description = "The Terraform Cloud workspace name" +} + output "workspace_id" { value = tfe_workspace.default.id description = "The Terraform Cloud workspace ID"