gistfile1.txt heat_template_version: 2016-04-08description: A load-balancer serverparameters: image: type: string description: Image used for servers key_name: type: string description: SSH key to connect to the servers flavor: type: string
heat_template_version: 2016-04-08 description: A load-balancer server parameters: image: type: string description: Image used for servers key_name: type: string description: SSH key to connect to the servers flavor: type: string description: flavor used by the servers pool_id: type: string description: Pool to contact metadata: type: json network: type: string description: Network used by the server subnet: type: string description: subnet on which the load balancer will be located resources: server: type: OS::Nova::Server properties: flavor: {get_param: flavor} image: {get_param: image} key_name: {get_param: key_name} metadata: {get_param: metadata} networks: [{network: {get_param: network} }] member: type: OS::Neutron::LBaaS::PoolMember properties: pool: {get_param: pool_id} address: {get_attr: [server, first_address]} protocol_port: 80 subnet: {get_param: subnet}