diff options
-rw-r--r-- | hot/mistral_external.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/hot/mistral_external.yaml b/hot/mistral_external.yaml new file mode 100644 index 0000000..5cdb637 --- /dev/null +++ b/hot/mistral_external.yaml @@ -0,0 +1,20 @@ +heat_template_version: rocky + +resources: + + workflow: + type: OS::Mistral::Workflow + properties: + type: direct + tasks: + - name: hello + action: std.echo output='Good morning!' + publish: + result: 'Bye' + + external_resource: + type: OS::Mistral::ExternalResource + properties: + actions: + CREATE: + workflow: {get_resource: workflow} |