Skip to content

Instantly share code, notes, and snippets.

@jdyke

jdyke/main.tf Secret

Created March 25, 2020 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdyke/6188adc3bb3d7a80d8abce20a577f48f to your computer and use it in GitHub Desktop.
Save jdyke/6188adc3bb3d7a80d8abce20a577f48f to your computer and use it in GitHub Desktop.
resource "google_logging_organization_sink" "iam_anomalous_grant_log_sink" {
name = "${var.org_id}-iam-anomalous-grant-log-sink"
org_id = var.org_id
destination = "pubsub.googleapis.com/projects/${var.project}/topics/${google_pubsub_topic.iam_anomalous_grant_topic.name}"
filter = var.org_sink_filter
include_children = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment