Files
hunfabric/modules/container-registry
Julio Castillo 82a1fe3c20 Removing iam_roles from multiple modules
This commits removes the iam_roles variables from the modules:
 - artifact-registry
 - bigtable-instance
 - cloud-function
 - container-registry
 - endopoints
 - pubsub
 - source-repository
2020-10-30 18:58:07 +01:00
..
2020-05-26 07:18:33 +02:00

Google Cloud Container Registry Module

This module simplifies the creation of GCS buckets used by Google Container Registry.

Example

module "container_registry" {
  source     = "../../modules/container-registry"
  project_id = "myproject"
  location   = "EU"
  iam_members = {
    "roles/storage.admin" = ["group:cicd@example.com"]
  }
}

Variables

name description type required default
project_id Registry project id. string
iam_members Map of member lists used to set authoritative bindings, keyed by role. map(set(string)) null
location Registry location. Can be US, EU, ASIA or empty string

Outputs

name description sensitive
bucket_id ID of the GCS bucket created