cloud-foundation-fabric/modules/container-registry
Julio Castillo 461f7780c2 Migrate bigtable-instance tests 2023-04-17 09:17:54 +02:00
..
README.md Migrate bigtable-instance tests 2023-04-17 09:17:54 +02:00
main.tf Copyright bump (#410) 2022-01-01 15:52:31 +01:00
outputs.tf Add periods at the end of each description field where missing (#478) 2022-01-31 10:45:34 +01:00
variables.tf Add periods at the end of each description field where missing (#478) 2022-01-31 10:45:34 +01:00
versions.tf bump provider versions 2023-04-11 22:18:31 +10: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     = "./fabric/modules/container-registry"
  project_id = "myproject"
  location   = "EU"
  iam = {
    "roles/storage.admin" = ["group:cicd@example.com"]
  }
}
# tftest modules=1 resources=2 inventory=simple.yaml

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.