Skip to content

Commit 7436250

Browse files
vbontempishemau
andauthored
feat: added new output secret_id which will output the private cert secrets manager secret unique ID (not to be confused with the id output which will output the private certif secrets manager secret resource ID) (#222)
Co-authored-by: shemau <[email protected]>
1 parent c63be9f commit 7436250

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@ No modules.
105105

106106
| Name | Description |
107107
|------|-------------|
108+
| <a name="output_id"></a> [id](#output\_id) | Private certificates secrets manager secret resource ID |
108109
| <a name="output_secret_crn"></a> [secret\_crn](#output\_secret\_crn) | Private certificates secrets manager secret CRN |
109-
| <a name="output_secret_id"></a> [secret\_id](#output\_secret\_id) | Private certificates secrets manager secret ID |
110+
| <a name="output_secret_id"></a> [secret\_id](#output\_secret\_id) | Private certificates secrets manager secret unique ID |
110111
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
111112

112113
<!-- Leave this section as is so that your module has a link to local development environment set up steps for contributors to follow -->

outputs.tf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
# Outputs
33
##############################################################################
44

5-
output "secret_id" {
6-
description = "Private certificates secrets manager secret ID"
5+
output "id" {
6+
description = "Private certificates secrets manager secret resource ID"
77
value = ibm_sm_private_certificate.secrets_manager_private_certificate.id
88
}
99

10+
output "secret_id" {
11+
description = "Private certificates secrets manager secret unique ID"
12+
value = ibm_sm_private_certificate.secrets_manager_private_certificate.secret_id
13+
}
14+
1015
output "secret_crn" {
1116
description = "Private certificates secrets manager secret CRN"
1217
value = ibm_sm_private_certificate.secrets_manager_private_certificate.crn

0 commit comments

Comments
 (0)