cloud-foundation-fabric/modules/container-registry
Ludovico Magnocavallo f72bea3f96 use new iam variable in container registry 2020-11-06 08:22:35 +01:00
..
README.md use new iam variable in container registry 2020-11-06 08:22:35 +01:00
main.tf use new iam variable in container registry 2020-11-06 08:22:35 +01:00
outputs.tf Add Container Registry module (#80) 2020-05-26 07:18:33 +02:00
variables.tf use new iam variable in container registry 2020-11-06 08:22:35 +01:00
versions.tf Add Container Registry module (#80) 2020-05-26 07:18:33 +02:00

README.md

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 = {
    "roles/storage.admin" = ["group:cicd@example.com"]
  }
}

Variables

name description type required default
project_id Registry project id. string
iam IAM bindings for topic in {ROLE => [MEMBERS]} format. map(list(string)) {}
location Registry location. Can be US, EU, ASIA or empty string

Outputs

name description sensitive
bucket_id ID of the GCS bucket created