Skip to content

Commit

Permalink
Update modules for azuread 3.0.1 (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkraemer-sysdig authored Oct 7, 2024
1 parent 6971225 commit cc0fc83
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/config-posture/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ resource "sysdig_secure_cloud_auth_account_component" "azure_service_principal"
active_directory_service_principal = {
account_enabled = true
display_name = azuread_service_principal.sysdig_cspm_sp.display_name
id = azuread_service_principal.sysdig_cspm_sp.id
id = azuread_service_principal.sysdig_cspm_sp.object_id
app_display_name = azuread_service_principal.sysdig_cspm_sp.display_name
app_id = azuread_service_principal.sysdig_cspm_sp.client_id
app_owner_organization_id = azuread_service_principal.sysdig_cspm_sp.application_tenant_id
Expand Down
2 changes: 1 addition & 1 deletion modules/integrations/event-hub/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ resource "sysdig_secure_cloud_auth_account_component" "azure_event_hub" {
active_directory_service_principal = {
account_enabled = true
display_name = azuread_service_principal.sysdig_event_hub_sp.display_name
id = azuread_service_principal.sysdig_event_hub_sp.id
id = azuread_service_principal.sysdig_event_hub_sp.object_id
app_display_name = azuread_service_principal.sysdig_event_hub_sp.display_name
app_id = azuread_service_principal.sysdig_event_hub_sp.client_id
app_owner_organization_id = azuread_service_principal.sysdig_event_hub_sp.application_tenant_id
Expand Down
2 changes: 1 addition & 1 deletion modules/onboarding/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ resource "sysdig_secure_cloud_auth_account" "azure_account" {
active_directory_service_principal = {
account_enabled = true
display_name = azuread_service_principal.sysdig_onboarding_sp.display_name
id = azuread_service_principal.sysdig_onboarding_sp.id
id = azuread_service_principal.sysdig_onboarding_sp.object_id
app_display_name = azuread_service_principal.sysdig_onboarding_sp.display_name
app_id = azuread_service_principal.sysdig_onboarding_sp.client_id
app_owner_organization_id = azuread_service_principal.sysdig_onboarding_sp.application_tenant_id
Expand Down
2 changes: 1 addition & 1 deletion modules/services/service-principal/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ output "service_principal_client_id" {
description = "Client ID of the Service Principal created"
}
output "service_principal_id" {
value = azuread_service_principal.sysdig_sp.id
value = azuread_service_principal.sysdig_sp.object_id
description = "Service Principal ID on the customer tenant"
}

Expand Down
2 changes: 1 addition & 1 deletion modules/vm-workload-scanning/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ resource "sysdig_secure_cloud_auth_account_component" "azure_workload_scanning_c
active_directory_service_principal = {
account_enabled = true
display_name = azuread_service_principal.sysdig_vm_workload_scanning_sp.display_name
id = azuread_service_principal.sysdig_vm_workload_scanning_sp.id
id = azuread_service_principal.sysdig_vm_workload_scanning_sp.object_id
app_display_name = azuread_service_principal.sysdig_vm_workload_scanning_sp.display_name
app_id = azuread_service_principal.sysdig_vm_workload_scanning_sp.client_id
app_owner_organization_id = azuread_service_principal.sysdig_vm_workload_scanning_sp.application_tenant_id
Expand Down

0 comments on commit cc0fc83

Please sign in to comment.