github.com/koding/terraform@v0.6.4-0.20170608090606-5d7e0339779d/website/source/docs/providers/google/r/google_project_services.html.markdown (about)

     1  ---
     2  layout: "google"
     3  page_title: "Google: google_project_services"
     4  sidebar_current: "docs-google-project-services"
     5  description: |-
     6   Allows management of API services for a Google Cloud Platform project.
     7  ---
     8  
     9  # google\_project\_services
    10  
    11  Allows management of enabled API services for an existing Google Cloud
    12  Platform project. Services in an existing project that are not defined
    13  in the config will be removed.
    14  
    15  For a list of services available, visit the
    16  [API library page](https://console.cloud.google.com/apis/library) or run `gcloud service-management list`.
    17  
    18  ## Example Usage
    19  
    20  ```hcl
    21  resource "google_project_services" "project" {
    22    project = "your-project-id"
    23    services   = ["iam.googleapis.com", "cloudresourcemanager.googleapis.com"]
    24  }
    25  ```
    26  
    27  ## Argument Reference
    28  
    29  The following arguments are supported:
    30  
    31  * `project` - (Required) The project ID.
    32      Changing this forces a new project to be created.
    33  
    34  * `services` - (Required) The list of services that are enabled. Supports
    35      update.