Skip to content

Commit

Permalink
feat(GROW-2928): Add an output to capture Lacework integration GUID
Browse files Browse the repository at this point in the history
Signed-off-by: Lei Jin <lei.jin@lacework.net>
  • Loading branch information
leijin-lw committed Jun 3, 2024
1 parent c0c0fc7 commit 31993e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ essentialcontacts.googleapis.com

| Name | Description |
|------|-------------|
| <a name="output_lacework_integration_guid"></a> [lacework\_integration\_guid](#output\_lacework\_integration\_guid) | GUID of the created Lacework integration |
| <a name="output_service_account_name"></a> [service\_account\_name](#output\_service\_account\_name) | The Service Account name |
| <a name="output_service_account_private_key"></a> [service\_account\_private\_key](#output\_service\_account\_private\_key) | The private key in JSON format, base64 encoded |
<!-- END_TF_DOCS -->
8 changes: 7 additions & 1 deletion output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ output "service_account_name" {
}

output "service_account_private_key" {
value = length(var.service_account_private_key) > 0 ? var.service_account_private_key : module.lacework_cfg_svc_account.private_key
value = length(var.service_account_private_key) > 0 ? var.service_account_private_key :
module.lacework_cfg_svc_account.private_key
description = "The private key in JSON format, base64 encoded"
sensitive = true
}

output "lacework_integration_guid" {
value = lacework_integration_gcp_cfg.default.intg_guid
description = "GUID of the created Lacework integration"
}

0 comments on commit 31993e2

Please sign in to comment.