Asset Deployment

Asset Deployment

Certified

A deployment, grouping the resources provisioned together.

Declares a deployment that groups the resources a flow provisions together. Other assets join a deployment by naming it in their partOf. A TtlTrigger targets deployments when no assetType is set.

yaml
type: io.kestra.plugin.ee.assets.Deployment

Register a deployment and the virtual machine it is made of.

yaml
id: provision_environment
namespace: company.infra

tasks:
  - id: provision
    type: io.kestra.plugin.core.log.Log
    message: Provisioning staging-eu
    assets:
      outputs:
        - type: io.kestra.plugin.ee.assets.Deployment
          id: staging-eu
          displayName: Staging EU
        - type: io.kestra.plugin.ee.assets.VM
          id: staging-eu-web-01
          provider: aws
          region: eu-west-1
          partOf:
            id: staging-eu