# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/gcp/gcp.config_deployment.dataset.md

---
title: Cloud Deployment Manager Deployment
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Cloud Deployment Manager Deployment
---

# Cloud Deployment Manager Deployment

Cloud Deployment Manager Deployment is a Google Cloud resource used to automate the creation and management of GCP resources through configuration files. It allows users to define infrastructure as code using YAML or Jinja2 templates, enabling consistent, repeatable deployments. This resource manages the lifecycle of deployments, including creation, update, and deletion of associated resources.

```
gcp.config_deployment
```

## Fields

| Title                     | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                            | Description |
| ------------------------- | ---- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                      | core | string        |
| ancestors                 | core | array<string> |
| annotations               | core | hstore        | Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployments during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.                                                                                                                                                                                                                                              |
| artifacts_gcs_bucket      | core | string        | Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` - The field cannot be updated, including changing its presence |
| create_time               | core | timestamp     | Output only. Time when the deployment was created.                                                                                                                                                                                                                                                                                                                                                                                                   |
| datadog_display_name      | core | string        |
| delete_build              | core | string        | Output only. Cloud Build instance UUID associated with deleting this deployment.                                                                                                                                                                                                                                                                                                                                                                     |
| delete_logs               | core | string        | Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: `gs://{bucket}/{object}`.                                                                                                                                                                                                                                                                                                        |
| delete_results            | core | json          | Output only. Location of artifacts from a DeleteDeployment operation.                                                                                                                                                                                                                                                                                                                                                                                |
| error_code                | core | string        | Output only. Error code describing errors that may have occurred.                                                                                                                                                                                                                                                                                                                                                                                    |
| error_logs                | core | string        | Output only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.                                                                                                                                                                                                                                                                                                                                             |
| import_existing_resources | core | bool          | By default, Infra Manager will return a failure when Terraform encounters a 409 code (resource conflict error) during actuation. If this flag is set to true, Infra Manager will instead attempt to automatically import the resource into the Terraform state (for supported resource types) and continue actuation. Not all resource types are supported, refer to documentation.                                                                  |
| labels                    | core | array<string> | Optional. User-defined metadata for the deployment.                                                                                                                                                                                                                                                                                                                                                                                                  |
| latest_revision           | core | string        | Output only. Revision name that was most recently applied. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`                                                                                                                                                                                                                                                                                          |
| lock_state                | core | string        | Output only. Current lock state of the deployment.                                                                                                                                                                                                                                                                                                                                                                                                   |
| name                      | core | string        | Identifier. Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`                                                                                                                                                                                                                                                                                                                              |
| organization_id           | core | string        |
| parent                    | core | string        |
| project_id                | core | string        |
| project_number            | core | string        |
| quota_validation          | core | string        | Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.                                                                                                                                                                                                                                                                                               |
| region_id                 | core | string        |
| resource_name             | core | string        |
| service_account           | core | string        | Required. User-specified Service Account (SA) credentials to be used when actuating resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`                                                                                                                                                                                                                                                                                       |
| state                     | core | string        | Output only. Current state of the deployment.                                                                                                                                                                                                                                                                                                                                                                                                        |
| state_detail              | core | string        | Output only. Additional information regarding the current state.                                                                                                                                                                                                                                                                                                                                                                                     |
| tags                      | core | hstore_csv    |
| terraform_blueprint       | core | json          | A blueprint described using Terraform's HashiCorp Configuration Language as a root module.                                                                                                                                                                                                                                                                                                                                                           |
| tf_errors                 | core | json          | Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.                                                                                                                                                                                                                                                                                           |
| tf_version                | core | string        | Output only. The current Terraform version set on the deployment. It is in the format of "Major.Minor.Patch", for example, "1.3.10".                                                                                                                                                                                                                                                                                                                 |
| tf_version_constraint     | core | string        | Optional. The user-specified Terraform version constraint. Example: "=1.3.10".                                                                                                                                                                                                                                                                                                                                                                       |
| update_time               | core | timestamp     | Output only. Time when the deployment was last modified.                                                                                                                                                                                                                                                                                                                                                                                             |
| worker_pool               | core | string        | Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. If this field is unspecified, the default Cloud Build worker pool will be used.                                                                                                                                                                               |
| zone_id                   | core | string        |