googleProjectService
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 gcloudServicesListAvailable
.
This datasource requires the Service Usage API to use.
To get more information about googleProjectService
, see:
- API documentation
- How-to Guides
- Enabling and Disabling Services
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.dataGoogleProjectService.DataGoogleProjectService(
this,
"my-project-service",
{
service: "my-project-service",
}
);
Argument Reference
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.
Attributes Reference
See google_project_service resource for details of the available attributes.