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

iam submodule

parent 6c0b0f15
......@@ -51,6 +51,12 @@ resource "google_project_service" "pubsub_api" {
service = "pubsub.googleapis.com"
}
module "iam" {
source = "./modules/iam"
project_id = google_project.gcp_project.project_id
mcomm_group_email = var.mcomm_group_email
}
module "logging" {
source = "./modules/logging"
project_id = google_project.gcp_project.project_id
......
resource "google_project_iam_member" "project_iam" {
project = var.project_id
role = "roles/editor"
member = "group:${var.mcomm_group_email}"
}
variable "project_id" {
type = string
}
variable "mcomm_group_email" {
type = string
description = "The MCommunity Group to be given permission to the GCP Project"
}
\ 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