Skip to content

Commit

Permalink
feat: added new output key_protect_account_id (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocofaigh authored Dec 9, 2024
1 parent 2180255 commit 9560714
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ To attach access management tags to resources in this module, you need the follo
| Name | Description |
|------|-------------|
| <a name="output_cbr_rule_ids"></a> [cbr\_rule\_ids](#output\_cbr\_rule\_ids) | CBR rule ids created to restrict Key Protect |
| <a name="output_key_protect_account_id"></a> [key\_protect\_account\_id](#output\_key\_protect\_account\_id) | The account ID of the Key Protect instance. |
| <a name="output_key_protect_crn"></a> [key\_protect\_crn](#output\_key\_protect\_crn) | CRN of the Key Protect instance |
| <a name="output_key_protect_guid"></a> [key\_protect\_guid](#output\_key\_protect\_guid) | GUID of the Key Protect instance |
| <a name="output_key_protect_id"></a> [key\_protect\_id](#output\_key\_protect\_id) | ID of the Key Protect 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 @@ -27,6 +27,11 @@ output "key_protect_name" {
value = module.key_protect_module.key_protect_name
}

output "key_protect_account_id" {
value = module.key_protect_module.key_protect_account_id
description = "The account ID of the Key Protect instance."
}

output "key_protect_instance_policies" {
description = "Instance policies of the Key Protect instance"
value = module.key_protect_module.key_protect_instance_policies
Expand Down
5 changes: 5 additions & 0 deletions examples/basic/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ output "key_protect_name" {
value = module.key_protect_module.key_protect_name
}

output "key_protect_account_id" {
value = module.key_protect_module.key_protect_account_id
description = "The account ID of the Key Protect instance."
}

output "key_protect_instance_policies" {
description = "Instance policies of the Key Protect instance"
value = module.key_protect_module.key_protect_instance_policies
Expand Down
6 changes: 6 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ output "key_protect_name" {
description = "Name of the Key Protect instance"
}

output "key_protect_account_id" {
value = ibm_resource_instance.key_protect_instance.account_id
description = "The account ID of the Key Protect instance."
}

output "key_protect_instance_policies" {
value = local.instance_policies
description = "Instance Polices of the Key Protect instance"
Expand All @@ -31,6 +36,7 @@ output "kp_private_endpoint" {
description = "Instance private endpoint URL"
value = local.kp_endpoints["endpoints.private"]
}

output "kp_public_endpoint" {
description = "Instance public endpoint URL"
value = local.kp_endpoints["endpoints.public"]
Expand Down

0 comments on commit 9560714

Please sign in to comment.