A Deployment is a group of resources and configs managed and provisioned by Infra Manager.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "state": enum ( |
Fields | |
---|---|
name |
Identifier. Resource name of the deployment. Format: |
createTime |
Output only. Time when the deployment was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Time when the deployment was last modified. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
labels |
Optional. User-defined metadata for the deployment. An object containing a list of |
state |
Output only. Current state of the deployment. |
latestRevision |
Output only. Revision name that was most recently applied. Format: |
stateDetail |
Output only. Additional information regarding the current state. |
errorCode |
Output only. Error code describing errors that may have occurred. |
deleteResults |
Output only. Location of artifacts from a deployments.delete operation. |
deleteBuild |
Output only. Cloud Build instance UUID associated with deleting this deployment. |
deleteLogs |
Output only. Location of Cloud Build logs in Google Cloud Storage, populated when deleting this deployment. Format: |
tfErrors[] |
Output only. Errors encountered when deleting this deployment. Errors are truncated to 10 entries, see |
errorLogs |
Output only. Location of Terraform error logs in Google Cloud Storage. Format: |
lockState |
Output only. Current lock state of the deployment. |
tfVersion |
Output only. The current Terraform version set on the deployment. It is in the format of "Major.Minor.Patch", for example, "1.3.10". |
quotaValidation |
Optional. Input to control quota checks for resources in terraform configuration files. There are limited resources on which quota validation applies. |
annotations |
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. An object containing a list of |
Union field blueprint . Blueprint to deploy. blueprint can be only one of the following: |
|
terraformBlueprint |
A blueprint described using Terraform's HashiCorp Configuration Language as a root module. |
artifactsGcsBucket |
Optional. User-defined location of Cloud Build logs and artifacts in Google Cloud Storage. Format: A default bucket will be bootstrapped if the field is not set or empty. Default bucket format: |
serviceAccount |
Required. User-specified Service Account (SA) credentials to be used when actuating resources. Format: |
importExistingResources |
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. |
workerPool |
Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: |
tfVersionConstraint |
Optional. The user-specified Terraform version constraint. Example: "=1.3.10". |