» github_repositories
Note: The data source will return a maximum of 1000
repositories
as documented in official API docs.
Use this data source to retrieve a list of GitHub repositories using a search query.
» Example Usage
data "github_repositories" "example" {
query = "org:hashicorp language:Go"
}
» Argument Reference
The following arguments are supported:
-
query
- (Required) Search query. See documentation for the search syntax.
» Attributes Reference
-
full_names
- A list of full names of found repositories (e.g.hashicorp/terraform
) -
names
- A list of found repository names (e.g.terraform
)