# 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 = ["roles/source.reader"] iam_members = { "roles/source.reader" = ["user:foo@example.com"] } } ``` ## Variables | name | description | type | required | default | |---|---|:---: |:---:|:---:| | name | Repository topic name. | string | ✓ | | | project_id | Project used for resources. | string | ✓ | | | *iam_members* | IAM members for each topic role. | map(list(string)) | | {} | | *iam_roles* | IAM roles for topic. | list(string) | | [] | ## Outputs | name | description | sensitive | |---|---|:---:| | id | Repository id. | | | url | Repository URL. | |