Skip to content

Commit

Permalink
fix: explicitly add project to scc pub/sub topic creation (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
camilojimenez authored Aug 19, 2020
1 parent 50bab16 commit ca7d926
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 1-org/envs/shared/scc_notification.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@ module "scc_notification" {
--description "SCC Notification for all active findings" \
--pubsub-topic projects/${module.scc_notifications.project_id}/topics/${google_pubsub_topic.scc_notification_topic.name} \
--filter "${var.scc_notification_filter}" \
--project "${module.scc_notifications.project_id}" \
--impersonate-service-account=${var.terraform_service_account}
EOF

destroy_cmd_entrypoint = "gcloud"
destroy_cmd_body = <<-EOF
alpha scc notifications delete organizations/${var.org_id}/notificationConfigs/${var.scc_notification_name} \
--impersonate-service-account ${var.terraform_service_account} \
--project "${module.scc_notifications.project_id}" \
--quiet
EOF
skip_download = var.skip_gcloud_download
Expand Down

0 comments on commit ca7d926

Please sign in to comment.