d1d829e6ac
This adds a --hot flag to merge.py which will assume source templates are in the HOT format, and generate a HOT template artifact. Tests have also been ported to HOT, along with some minor corrections to the existing tests to make the source and result templates valid heat templates. Partial-Blueprint: tripleo-juno-remove-mergepy Change-Id: If18ff79f89456123c884a1ab2f910ce4cc9a6e0b
25 lines
507 B
YAML
25 lines
507 B
YAML
HeatTemplateFormatVersion: '2012-12-12'
|
|
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
|