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

TitleIDTypeData TypeDescription
_keycorestring
ancestorscorearray<string>
annotationscorehstoreOptional. 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_bucketcorestringOptional. 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_timecoretimestampOutput only. Time when the deployment was created.
datadog_display_namecorestring
delete_buildcorestringOutput only. Cloud Build instance UUID associated with deleting this deployment.
delete_logscorestringOutput only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: `gs://{bucket}/{object}`.
delete_resultscorejsonOutput only. Location of artifacts from a DeleteDeployment operation.
error_codecorestringOutput only. Error code describing errors that may have occurred.
error_logscorestringOutput only. Location of Terraform error logs in Google Cloud Storage. Format: `gs://{bucket}/{object}`.
import_existing_resourcescoreboolBy 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.
labelscorearray<string>Optional. User-defined metadata for the deployment.
latest_revisioncorestringOutput only. Revision name that was most recently applied. Format: `projects/{project}/locations/{location}/deployments/{deployment}/ revisions/{revision}`
lock_statecorestringOutput only. Current lock state of the deployment.
namecorestringIdentifier. Resource name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`
organization_idcorestring
parentcorestring
project_idcorestring
project_numbercorestring
quota_validationcorestringOptional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies.
region_idcorestring
resource_namecorestring
service_accountcorestringRequired. User-specified Service Account (SA) credentials to be used when actuating resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}`
statecorestringOutput only. Current state of the deployment.
state_detailcorestringOutput only. Additional information regarding the current state.
tagscorehstore_csv
terraform_blueprintcorejsonA blueprint described using Terraform's HashiCorp Configuration Language as a root module.
tf_errorscorejsonOutput only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see `delete_results` and `error_logs` for full details.
tf_versioncorestringOutput 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_constraintcorestringOptional. The user-specified Terraform version constraint. Example: "=1.3.10".
update_timecoretimestampOutput only. Time when the deployment was last modified.
worker_poolcorestringOptional. 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_idcorestring