Merge "Add an example of OS::Mistral::ExternalResource"
This commit is contained in:
commit
840692d3d4
20
hot/mistral_external.yaml
Normal file
20
hot/mistral_external.yaml
Normal file
@ -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}
|
Loading…
Reference in New Issue
Block a user