Skip to content

Commit 29ccb2e

Browse files
feat: add guid output (#85)
1 parent 1fced06 commit 29ccb2e

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ No modules.
127127
| <a name="output_access_key"></a> [access\_key](#output\_access\_key) | Workload Protection instance access key. |
128128
| <a name="output_api_endpoint"></a> [api\_endpoint](#output\_api\_endpoint) | API endpoint. |
129129
| <a name="output_crn"></a> [crn](#output\_crn) | CRN of created SCC WP instance. |
130+
| <a name="output_guid"></a> [guid](#output\_guid) | GUID of created SCC WP instance. |
130131
| <a name="output_id"></a> [id](#output\_id) | ID of created SCC WP instance. |
131132
| <a name="output_ingestion_endpoint"></a> [ingestion\_endpoint](#output\_ingestion\_endpoint) | Ingestion endpoint. |
132133
| <a name="output_name"></a> [name](#output\_name) | Name of created SCC WP instance. |

examples/advanced/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ output "id" {
77
value = module.scc_wp.id
88
}
99

10+
output "guid" {
11+
description = "GUID of created SCC WP instance."
12+
value = module.scc_wp.guid
13+
}
14+
1015
output "crn" {
1116
description = "CRN of created SCC WP instance."
1217
value = module.scc_wp.crn

examples/basic/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ output "id" {
77
value = module.scc_wp.id
88
}
99

10+
output "guid" {
11+
description = "GUID of created SCC WP instance."
12+
value = module.scc_wp.guid
13+
}
14+
1015
output "crn" {
1116
description = "CRN of created SCC WP instance."
1217
value = module.scc_wp.crn

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ output "id" {
1212
value = ibm_resource_instance.scc_wp.id
1313
}
1414

15+
output "guid" {
16+
description = "GUID of created SCC WP instance."
17+
value = ibm_resource_instance.scc_wp.guid
18+
}
19+
1520
output "crn" {
1621
description = "CRN of created SCC WP instance."
1722
value = ibm_resource_instance.scc_wp.crn

0 commit comments

Comments
 (0)