diff --git a/hot/mistral_external.yaml b/hot/mistral_external.yaml new file mode 100644 index 00000000..5cdb637c --- /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}