1b20a06c8d
Fix incorrect stack resources processing in the tests. Change-Id: Iaf0ab8a7c4f14c462232d1f9e0de0195da6ca3bf Closes-Bug: #1452576
34 lines
672 B
YAML
34 lines
672 B
YAML
heat_template_version: '2013-05-23'
|
|
description: |
|
|
Template which creates two instances
|
|
parameters:
|
|
InstanceType:
|
|
type: string
|
|
ImageId:
|
|
type: string
|
|
network:
|
|
type: string
|
|
resources:
|
|
Server1:
|
|
type: OS::Nova::Server
|
|
properties:
|
|
image: {get_param: ImageId}
|
|
flavor: {get_param: InstanceType}
|
|
networks:
|
|
- network: {Ref: network}
|
|
|
|
Server2:
|
|
type: OS::Nova::Server
|
|
properties:
|
|
image: {get_param: ImageId}
|
|
flavor: {get_param: InstanceType}
|
|
networks:
|
|
- network: {Ref: network}
|
|
outputs:
|
|
server1:
|
|
value:
|
|
get_resource: Server1
|
|
server2:
|
|
value:
|
|
get_resource: Server2
|