For more information, see the official documentation and API
This example is the common case of creating a repository within Google Cloud Source Repositories:
resource "google_sourcerepo_repository" "frontend" { name = "frontend" }
The following arguments are supported:
name
- (Required) The name of the repository that will be created. project
- (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used. The following attributes are exported:
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/google/r/sourcerepo_repository.html