mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-07 01:26:43 +00:00
622783c762
Add support for creating, updating, and deleting projects, as well as their enabled services and their IAM policies. Various concessions were made for backwards compatibility, and will be removed in 0.9 or 0.10.
846 B
846 B
layout | page_title | sidebar_current | description |
---|---|---|---|
Google: google_project_services | docs-google-project-services | Allows management of API services for a Google Cloud Platform project. |
google_project_services
Allows management of enabled API services for an existing Google Cloud Platform project. Services in an existing project that are not defined in the config will be removed.
Example Usage
resource "google_project_services" "project" {
project_id = "your-project-id"
services = ["iam.googleapis.com", "cloudresourcemanager.googleapis.com"]
}
Argument Reference
The following arguments are supported:
-
project_id
- (Required) The project ID. Changing this forces a new project to be created. -
services
- (Required) The list of services that are enabled. Supports update.