Skip to content

Commit

Permalink
Merge branch 'master' into pub-sub-empty-audit-logs
Browse files Browse the repository at this point in the history
  • Loading branch information
legobrick authored Dec 19, 2024
2 parents 0ff3973 + 6df29e1 commit 1e53868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/vm-workload-scanning/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ resource "sysdig_secure_cloud_auth_account_component" "google_service_principal"
gcp = {
workload_identity_federation = {
pool_id = google_iam_workload_identity_pool.agentless.workload_identity_pool_id
pool_provider_id = data.sysdig_secure_agentless_scanning_assets.assets.backend == "aws" ? google_iam_workload_identity_pool_provider.agentless[0].workload_identity_pool_provider_id : google_iam_workload_identity_pool_provider.agentless_gcp[0].workload_identity_pool_provider_id
pool_provider_id = data.sysdig_secure_agentless_scanning_assets.assets.backend.type == "aws" ? google_iam_workload_identity_pool_provider.agentless[0].workload_identity_pool_provider_id : google_iam_workload_identity_pool_provider.agentless_gcp[0].workload_identity_pool_provider_id
project_number = data.google_project.project.number
}
email = google_service_account.controller.email
Expand Down

0 comments on commit 1e53868

Please sign in to comment.