Skip to content

Commit 7850537

Browse files
SSPROD-58066 - enhance: explicitly define project for ing sink (#71)
1 parent f7360a9 commit 7850537

File tree

1 file changed

+1
-0
lines changed
  • modules/integrations/pub-sub

1 file changed

+1
-0
lines changed

modules/integrations/pub-sub/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ resource "google_logging_project_sink" "ingestion_sink" {
101101
count = var.is_organizational ? 0 : 1
102102
name = "${google_pubsub_topic.ingestion_topic.name}_sink"
103103
description = "Sysdig sink to direct the AuditLogs to the PubSub topic used for data gathering"
104+
project = var.project_id
104105

105106
# NOTE: The target destination is a PubSub topic
106107
destination = "pubsub.googleapis.com/projects/${var.project_id}/topics/${google_pubsub_topic.ingestion_topic.name}"

0 commit comments

Comments
 (0)