cloud-foundation-fabric/modules/container-registry
Julio Castillo 1e11c670f5 Update copyright to 2021 2021-02-15 09:38:10 +01:00
..
README.md Make examples in READMEs runnable and testable 2020-11-07 10:28:33 +01:00
main.tf Update copyright to 2021 2021-02-15 09:38:10 +01:00
outputs.tf Update copyright to 2021 2021-02-15 09:38:10 +01:00
variables.tf Update copyright to 2021 2021-02-15 09:38:10 +01:00
versions.tf Update copyright to 2021 2021-02-15 09:38:10 +01: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"]
  }
}
# tftest:modules=1:resources=2

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