Resource: Actuation
The Actuation object represents the bootstrap state and output results of deployed infrastructure and software.
| JSON representation |
|---|
{ "name": string, "actuationOutput": { object ( |
| Fields | |
|---|---|
name |
The name of the actuation resource. The format is projects/{project}/locations/{location}/deployments/{deployment}/actuations/{actuation}. |
actuationOutput |
Output only. Actuation output. |
state |
Output only. Actuation state. |
deploymentOutput[] |
Output only. Deployment output. |
startTime |
Output only. Start time stamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
Output only. End time stamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
ActuationOutput
Message for output of actuation.
| JSON representation |
|---|
{
"blueprintId": string,
"terraformTemplate": string,
"errorLogs": string,
"actuateLogs": string,
"errorCode": enum ( |
| Fields | |
|---|---|
blueprintId |
Reference to the Blueprint Controller deployment and revision resource. |
terraformTemplate |
Reference to the Terraform template used. |
errorLogs |
A link to the actuation Cloud Build log. |
actuateLogs |
A link to the Cloud Storage file that stores build logs. |
errorCode |
Output only. Code describing any errors that may have occurred. If not specified, there is no error in actuation. |
ansibleError |
Output only. Error message returned from Ansible. |
cloudbuildId |
Cloud Build instance UUID associated with this revision, without any suffix or prefix |
ansibleFailedTask[] |
Output only. Failed task name returned from Ansible. |
terraformError |
Output only. Error message returned from Terraform. |
hasUserFacingErrorMsg |
Output only. Whether the error message is user facing. If true, the error message will be shown in the UI. |
ErrorCode
Possible errors that can occur with deployments.
| Enums | |
|---|---|
ERROR_CODE_UNSPECIFIED |
No error code was specified. |
TERRAFORM_FAILED |
General Terraform failure. |
PERMISSION_DENIED_IN_TERRAFORM |
Permission error in Terraform. |
QUOTA_EXCEED_IN_TERRAFORM |
Quota related error in Terraform. |
ANSIBLE_FAILED |
General Ansible failure. |
CONSTRAINT_VIOLATION_IN_TERRAFORM |
Constraint related error in Terraform. |
RESOURCE_ALREADY_EXISTS_IN_TERRAFORM |
Resource already exists error in Terraform. |
RESOURCE_UNAVAILABLE_IN_TERRAFORM |
Resource not found error in Terraform. |
PERMISSION_DENIED_IN_ANSIBLE |
Permission denied error in Ansible. |
INVALID_SECRET_IN_ANSIBLE |
Secret related error in Ansible. |
TERRAFORM_DELETION_FAILED |
General Terraform failure during deletion. |
RESOURCE_IN_USE_IN_TERRAFORM_DELETION |
Resource in use error in Terraform deletion. |
ANSIBLE_START_FAILED |
Startup failure in Ansible. |
State
The state of the actuation.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
State unspecified. |
INFRA_CREATING |
Creating infrastructure in backend (Terraform applying). |
SUCCEEDED |
Success. |
FAILED |
Failed either in infra creating, post infra configuring, or infra destroying. |
POST_INFRA_CONFIGURING |
Configure workload after infrastructure is ready (Ansible running). |
INFRA_DESTROYING |
Destroying infrastructure in backend (Terraform destroying). |
TIMEOUT |
Ansible timed out due to losing heartbeat in post infra configuring. |
DeploymentOutput
Message for output of deployment resource.
| JSON representation |
|---|
{ "name": string, "type": string } |
| Fields | |
|---|---|
name |
Name of the resource. |
type |
Type of the resource. |
Methods |
|
|---|---|
|
Creates a new actuation for an existing Deployment. |
|
Deletes a single Actuation. |
|
Gets details of a single Actuation. |
|
Lists Actuations in a given project, location and deployment. |