Skip to content

Commit

Permalink
fix(output): Add missing workload_name output (#60)
Browse files Browse the repository at this point in the history
* fix(output): Add missing `workload_name` output

Signed-off-by: Stephen Hoekstra <[email protected]>
  • Loading branch information
shoekstra authored Mar 4, 2024
1 parent 6985c20 commit 3e5f9ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,5 @@ The above custom role is similar to the "write" pre-existing role, but blocks ac
|------|-------------|
| <a name="output_arn"></a> [arn](#output\_arn) | The workspace IAM user ARN |
| <a name="output_workspace_id"></a> [workspace\_id](#output\_workspace\_id) | The Terraform Cloud workspace ID |
| <a name="output_workspace_name"></a> [workspace\_name](#output\_workspace\_name) | The Terraform Cloud workspace name |
<!-- END_TF_DOCS -->
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3e5f9ec

Please sign in to comment.