Skip to content

Latest commit

 

History

History
 
 

source-repository

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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:[email protected]"]
  }
}
# 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.