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 c6eec606 authored by Adam Robinson's avatar Adam Robinson
Browse files

billing is now in customer module

parent 02049cac
data "google_billing_account" "billing_id" {
# display_name = "${var.prefix}-${var.project_id}-billing"
billing_account = "billingAccounts/${var.billing_id}"
}
resource "google_billing_account_iam_member" "binding" {
billing_account_id = var.billing_id
role = "roles/billing.viewer"
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
variable "project_id" {
}
variable "billing_id" {
}
variable "prefix" {
}
variable "billing_mcomm" {
}
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