Get infomation about an existing Google Cloud Source Repository. For more information see the official documentation and API.
data "google_sourcerepo_repository" "my-repo" {
name = "my-repository"
}
The following arguments are supported:
name
- (Required) Resource name of the repository. The repo name may contain slashes. eg, name/with/slash
project
- (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
See google_sourcerepo_repository resource for details of the available attributes.