mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-07 17:46:43 +00:00
997 B
997 B
layout | page_title | sidebar_current | description |
---|---|---|---|
Google: google_project_services | docs-google-datasource-project-services | Retrieve enabled of API services for a Google Cloud Platform project |
google_project_services
Use this data source to get details on the enabled project services.
For a list of services available, visit the
API library page or run gcloud services list
.
Example Usage
data "google_project_services" "project" {
project = "your-project-id"
}
output "project_services" {
value = "${join(",", data.google_project_services.project.services)}"
}
Argument Reference
The following arguments are supported:
project
- (Required) The project ID.
Attributes Reference
The following attributes are exported:
See google_project_services resource for details of the available attributes.