fuel-ostf/fuel_health/etc/heat_update_neutron_stack_t...

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