Merge "Add an example of OS::Mistral::ExternalResource"
This commit is contained in:
commit
840692d3d4
|
@ -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