Skip to content

Latest commit

 

History

History

container-registry

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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
id Fully qualified id of the registry bucket.