Skip to content

Commit 4557def

Browse files
authored
feat: expose new output access_key (#17)
1 parent 1ab9319 commit 4557def

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ No modules.
121121

122122
| Name | Description |
123123
|------|-------------|
124+
| <a name="output_access_key"></a> [access\_key](#output\_access\_key) | Workload Protection instance access key. |
124125
| <a name="output_api_endpoint"></a> [api\_endpoint](#output\_api\_endpoint) | API endpoint. |
125126
| <a name="output_crn"></a> [crn](#output\_crn) | CRN of created SCC WP instance. |
126127
| <a name="output_id"></a> [id](#output\_id) | ID of created SCC WP instance. |

examples/basic/outputs.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,9 @@ output "api_endpoint" {
2828
value = module.scc_wp.api_endpoint
2929
sensitive = true
3030
}
31+
32+
output "access_key" {
33+
description = "Workload Protection instance access key."
34+
value = module.scc_wp.access_key
35+
sensitive = true
36+
}

outputs.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,9 @@ output "api_endpoint" {
2828
value = ibm_resource_key.scc_wp_resource_key.credentials["Sysdig Endpoint"]
2929
sensitive = true
3030
}
31+
32+
output "access_key" {
33+
description = "Workload Protection instance access key."
34+
value = ibm_resource_key.scc_wp_resource_key.credentials["Sysdig Access Key"]
35+
sensitive = true
36+
}

0 commit comments

Comments
 (0)