Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 51c6690d authored by Kenny Moore's avatar Kenny Moore
Browse files

UM_billing_user plus pubsub API


Co-authored-by: Adam Robinson's avataradarobin@umich.edu <adarobin@umich.edu>
parent 461088d2
......@@ -34,6 +34,11 @@ locals{
filter_string = "logName=\"projects/${google_project.gcp_project.project_id}/logs/cloudaudit.googleapis.com%2Factivity\""
}
resource "google_project_service" "pubsub_api" {
project = project = google_project.gcp_project.project_id
service = "pubsub.googleapis.com.googleapis.com"
}
resource "google_logging_project_sink" "log_export" {
project = google_project.gcp_project.project_id
name = "${google_project.gcp_project.project_id}-log-export"
......
......@@ -9,5 +9,14 @@ resource "google_billing_account_iam_member" "binding" {
member = "group:${var.billing_mcomm}"
}
# Need to add billing contact individuall?
resource "google_billing_account_iam_member" "um_billing_user" {
billing_account_id = var.billing_id
# role = data.um_billing_user.name
role = "organizations/715302536254/roles/UM_billingUser" # should be a var?
member = "group:${var.billing_mcomm}"
}
# EDITOR; nested in billing MCOMM - umich-gcp-project-tf-test@umich.edu
# umich-gcp-project-tf-test-billing@umich.edu
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment