From fcbead3871c995f4da423c9fffe9ed444407a5ce Mon Sep 17 00:00:00 2001 From: Roman Podolyaka Date: Fri, 11 Oct 2013 17:54:09 +0300 Subject: Make LaunchConfiguration resources mergeable This can be very useful for merging of Metadata to be used by optional services (e. g. to add services like tuskar to undercloud on demand). Change-Id: Ifc4016d6e994064c0772c12e668e98bf055fada9 --- examples/launchconfig1.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 examples/launchconfig1.yaml (limited to 'examples/launchconfig1.yaml') diff --git a/examples/launchconfig1.yaml b/examples/launchconfig1.yaml new file mode 100644 index 00000000..9127eab9 --- /dev/null +++ b/examples/launchconfig1.yaml @@ -0,0 +1,23 @@ +Parameters: + A: + Type: String + Default: test1 + B: + Type: String + Default: test2 + resource1Image: + Type: String + Default: resource1 +Resources: + notcomputeConfigBase: + Type: AWS::AutoScaling::LaunchConfiguration + Metadata: + OpenStack::Role: notcomputeConfig + a: {Ref: A} + b: {Ref: B} + resource1: + Type: OS::Nova::Server + Properties: + flavor: test_flavor + image: {Ref: resource1Image} + key_name: test_key -- cgit 1.2.3-korg