Skip to content

Instantly share code, notes, and snippets.

@gfidente
Created March 30, 2017 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gfidente/5f4975d73591b4f15fc7c43bf9be0558 to your computer and use it in GitHub Desktop.
Save gfidente/5f4975d73591b4f15fc7c43bf9be0558 to your computer and use it in GitHub Desktop.
heat_template_version: ocata
parameters:
Foo1:
type: number
default: 123
Foo2:
type: number
default: 456
resources:
external_resource:
type: OS::Mistral::ExternalResource
properties:
actions:
CREATE:
workflow: create
UPDATE:
workflow: update
DELETE:
workflow: delete
input:
foo1: {get_param: Foo1}
foo2: {get_param: Foo2}
replace_on_change_inputs:
- foo2
always_update: true
outputs:
execution_output:
description: execution output
value: {get_attr: [external_resource, output]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment