cloud-foundation-fabric/modules/container-registry
apichick 73e286c0ab
Added spanner-instance module (#2372)
2024-06-23 17:25:22 +00:00
..
README.md remove default location from remaining modules (#2304) 2024-05-24 09:20:53 +02:00
main.tf Copyright bump (#410) 2022-01-01 15:52:31 +01:00
outputs.tf Ensure all modules have an `id` output (#1410) 2023-06-02 16:07:22 +02:00
variables.tf remove default location from remaining modules (#2304) 2024-05-24 09:20:53 +02:00
versions.tf Added spanner-instance module (#2372) 2024-06-23 17:25:22 +00: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
location Registry location. Can be US, EU, ASIA or empty. string
project_id Registry project id. string
iam IAM bindings for topic in {ROLE => [MEMBERS]} format. map(list(string)) {}

Outputs

name description sensitive
id Fully qualified id of the registry bucket.