File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ resource "azurerm_role_assignment" "storage_sidekick" {
413413resource "azurerm_role_assignment" "storage_data_loader" {
414414 count = var.global ? 1 : 0
415415
416- principal_id = azuread_service_principal.data_loader[0].id
416+ principal_id = azuread_service_principal.data_loader[0].object_id
417417 role_definition_name = "Storage Blob Data Reader"
418418 scope = local.storage_account_id
419419}
@@ -642,9 +642,4 @@ resource "terraform_data" "job_execution_now" {
642642data "lacework_metric_module" "lwmetrics" {
643643 name = local.module_name
644644 version = local.module_version
645- }
646-
647- output "lacework_integration_guid" {
648- value = lacework_integration_azure_agentless_scanning.lacework_cloud_account[0].intg_guid
649- description = "GUID of the created Lacework integration"
650645}
Original file line number Diff line number Diff line change @@ -107,4 +107,9 @@ output "excluded_subscriptions" {
107107output "scanning_subscription_id" {
108108 value = data.azurerm_subscription.current.subscription_id
109109 description = "The subscription ID where scanning resources are deployed"
110+ }
111+
112+ output "lacework_integration_guid" {
113+ value = length(lacework_integration_azure_agentless_scanning.lacework_cloud_account) > 0 ? lacework_integration_azure_agentless_scanning.lacework_cloud_account[0].intg_guid : null
114+ description = "GUID of the created Lacework integration"
110115}
You can’t perform that action at this time.
0 commit comments