-
Martin Cuchran authoredab35ea1b
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
pv176-floating_ip.template 782 B
{
"heat_template_version": "2016-04-08",
"parameters":{
"server_name":{
"type": "string"
}
},
"resources":{
"floating_ip":{
"type": "OS::Nova::FloatingIP",
"properties": {
"pool": "public-float-21"
}
},
"association":{
"type":"OS::Nova::FloatingIPAssociation",
"properties":{
"floating_ip": { "get_resource": "floating_ip" },
"server_id": {"get_param": "server_name"}
}
}
},
"outputs":{
"association":{
"value": { "get_resource": "association" }
},
"floating_ip":{
"value": { "get_resource": "floating_ip" }
}
}
}