# Google Cloud Source Repository Module
This module allows managing a single Cloud Source Repository, including IAM bindings.
## Examples
### Simple repository with IAM
```hcl
module "repo" {
source e = "./modules/source-repository"
project_id = "my-project"
name = "my-repo"
iam = {
"roles/source.reader" = ["user:foo@example.com"]
}
}
```
## 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. | |