Verify the API service for the Google Cloud Platform project to see if it is enabled or not.
For a list of services available, visit the API library page
or run gcloud services list --available
.
This datasource requires the Service Usage API to use.
To get more information about google_project_service
, see:
data "google_project_service" "my-project-service" {
service = "my-project-service"
}
The following arguments are supported:
service
- (Required) The name of the Google Platform project service.project
- (Optional) The project in which the resource belongs. If it
is not provided, the provider project is used.See google_project_service resource for details of the available attributes.