Config Deployment

This table represents the config_deployment resource from Google Cloud Platform.

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. Possible values: ['ERROR_CODE_UNSPECIFIED', 'REVISION_FAILED', 'CLOUD_BUILD_PERMISSION_DENIED', 'DELETE_BUILD_API_FAILED', 'DELETE_BUILD_RUN_FAILED', 'BUCKET_CREATION_PERMISSION_DENIED', 'BUCKET_CREATION_FAILED']. Values descriptions: ['No error code was specified.', 'The revision failed. See Revision for more details.', 'Cloud Build failed due to a permission issue.', 'Cloud Build job associated with a deployment deletion could not be started.', 'Cloud Build job associated with a deployment deletion was started but failed.', 'Cloud Storage bucket creation failed due to a permission issue.', 'Cloud Storage bucket creation failed due to an issue unrelated to permissions.']
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>
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. Possible values: ['LOCK_STATE_UNSPECIFIED', 'LOCKED', 'UNLOCKED', 'LOCKING', 'UNLOCKING', 'LOCK_FAILED', 'UNLOCK_FAILED']. Values descriptions: ['The default value. This value is used if the lock state is omitted.', 'The deployment is locked.', 'The deployment is unlocked.', 'The deployment is being locked.', 'The deployment is being unlocked.', 'The deployment has failed to lock.', 'The deployment has failed to unlock.']
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. Possible values: ['QUOTA_VALIDATION_UNSPECIFIED', 'ENABLED', 'ENFORCED']. Values descriptions: ['The default value. QuotaValidation on terraform configuration files will be disabled in this case.', 'Enable computing quotas for resources in terraform configuration files to get visibility on resources with insufficient quotas.', "Enforce quota checks so deployment fails if there isn't sufficient quotas available to deploy resources in terraform configuration files."]
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. Possible values: ['STATE_UNSPECIFIED', 'CREATING', 'ACTIVE', 'UPDATING', 'DELETING', 'FAILED', 'SUSPENDED', 'DELETED']. Values descriptions: ['The default value. This value is used if the state is omitted.', 'The deployment is being created.', 'The deployment is healthy.', 'The deployment is being updated.', 'The deployment is being deleted.', 'The deployment has encountered an unexpected error.', 'The deployment is no longer being actively reconciled. This may be the result of recovering the project after deletion.', 'The deployment has been deleted.']
state_detailcorestringOutput only. Additional information regarding the current state.
tagscorehstore
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.