Step Specification
Overview
This document provides a reference for a ResourcePlugin step specification. A step specification describes a step of a ResourcePlugin phase workflow that executes a script.
Here is an example of a ResourcePlugin step:
name: gen-password
inputs:
- name: stepInput
valueFromStep:
name: step1 # name of the step containing the output
output: dbsecret # name of the output from step1
as:
env: DBSECRET # injected into step environment
outputs:
- name: password
valueFromPath: /tmp/secret
description: "password to access the database"
script: |
#!/usr/bin/env bash
dd if=/dev/urandom count=1 > /tmp/secret
name
Name is required and must be unique amongst all steps in any resource plugin
phase workflow (phases create, delete).
inputs[_]
Inputs specifies data consumed by the step and how to make that data available to the container running the step.