cloud-foundation-fabric/modules/source-repository
Simone Ruffilli ee25965c89
Copyright bump (#410)
2022-01-01 15:52:31 +01:00
..
README.md update tfdoc (#404) 2021-12-30 10:56:19 +01:00
main.tf Copyright bump (#410) 2022-01-01 15:52:31 +01:00
outputs.tf Copyright bump (#410) 2022-01-01 15:52:31 +01:00
variables.tf Copyright bump (#410) 2022-01-01 15:52:31 +01:00
versions.tf Copyright bump (#410) 2022-01-01 15:52:31 +01:00

README.md

Google Cloud Source Repository Module

This module allows managing a single Cloud Source Repository, including IAM bindings.

Examples

Simple repository with IAM

module "repo" {
  source     = "./modules/source-repository"
  project_id = "my-project"
  name       = "my-repo"
  iam = {
    "roles/source.reader" = ["user:foo@example.com"]
  }
}
# tftest:modules=1:resources=2

Variables

name description type required default
name Repository name. string
project_id Project used for resources. string
iam IAM bindings in {ROLE => [MEMBERS]} format. map(list(string)) {}

Outputs

name description sensitive
id Repository id.
url Repository URL.