Skip to content

Commit

Permalink
feat: add guid output (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aayush-Abhyarthi committed Apr 5, 2024
1 parent 1fced06 commit 29ccb2e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ No modules.
| <a name="output_access_key"></a> [access\_key](#output\_access\_key) | Workload Protection instance access key. |
| <a name="output_api_endpoint"></a> [api\_endpoint](#output\_api\_endpoint) | API endpoint. |
| <a name="output_crn"></a> [crn](#output\_crn) | CRN of created SCC WP instance. |
| <a name="output_guid"></a> [guid](#output\_guid) | GUID of created SCC WP instance. |
| <a name="output_id"></a> [id](#output\_id) | ID of created SCC WP instance. |
| <a name="output_ingestion_endpoint"></a> [ingestion\_endpoint](#output\_ingestion\_endpoint) | Ingestion endpoint. |
| <a name="output_name"></a> [name](#output\_name) | Name of created SCC WP instance. |
Expand Down
5 changes: 5 additions & 0 deletions examples/advanced/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ output "id" {
value = module.scc_wp.id
}

output "guid" {
description = "GUID of created SCC WP instance."
value = module.scc_wp.guid
}

output "crn" {
description = "CRN of created SCC WP instance."
value = module.scc_wp.crn
Expand Down
5 changes: 5 additions & 0 deletions examples/basic/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ output "id" {
value = module.scc_wp.id
}

output "guid" {
description = "GUID of created SCC WP instance."
value = module.scc_wp.guid
}

output "crn" {
description = "CRN of created SCC WP instance."
value = module.scc_wp.crn
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ output "id" {
value = ibm_resource_instance.scc_wp.id
}

output "guid" {
description = "GUID of created SCC WP instance."
value = ibm_resource_instance.scc_wp.guid
}

output "crn" {
description = "CRN of created SCC WP instance."
value = ibm_resource_instance.scc_wp.crn
Expand Down

0 comments on commit 29ccb2e

Please sign in to comment.