| _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. 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_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> | |
| 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. 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.'] |
| 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. 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_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. 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_detail | core | string | Output only. Additional information regarding the current state. |
| tags | core | hstore | |
| 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. |