Skip to main content

DeploymentAction

The type of infrastructure operation to perform.

Each action maps to a distinct phase of the infrastructure lifecycle:

  • PROVISION creates new infrastructure or updates existing infrastructure to match the desired configuration.
  • DECOMMISSION tears down all infrastructure managed by the instance.
  • PLAN generates a dry-run preview showing what changes would be made, without actually applying them.
enum DeploymentAction {
PROVISION
DECOMMISSION
PLAN
}

Values

DeploymentAction.PROVISION {#provision}

Create new infrastructure or update existing infrastructure to match the instance's current configuration.

DeploymentAction.DECOMMISSION {#decommission}

Destroy all infrastructure managed by this instance. This action cannot be undone.

DeploymentAction.PLAN {#plan}

Generate a dry-run preview of what changes would be made, without applying them. Useful for reviewing infrastructure changes before committing.

Member Of

CreateDeploymentInput input ● Deployment object ● DeploymentActionFilter input