diff options
author | Zuul <zuul@review.openstack.org> | 2019-01-23 04:55:25 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-01-23 04:55:25 +0000 |
commit | 840692d3d4d72ed01826e24d778c090f35e7594e (patch) | |
tree | daf0bb0a6455244fe8a44338811490868ffa9412 | |
parent | aa4ffd1c7704ba65b8faf54e5683ff8a14baff0c (diff) | |
parent | e78f9df974099dd1616bf1c8eca287ecf7173512 (diff) | |
download | heat-templates-840692d3d4d72ed01826e24d778c090f35e7594e.tar.gz |
Merge "Add an example of OS::Mistral::ExternalResource"
-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} |