Re: [Openstack] HEAT - Conditional Statements

2016-02-23 Thread Brent Troge
Thanks Chris that makes sense. Let me play with it and see how far I get. On Mon, Feb 22, 2016 at 4:41 PM, Chris Buccella < chris.bucce...@antallagon.com> wrote: > Can you utilize two ResourceGroups, one with cinder volumes and one > without? Then use two parameters, servers_with_volumes_count

Re: [Openstack] HEAT - Conditional Statements

2016-02-22 Thread Chris Buccella
Can you utilize two ResourceGroups, one with cinder volumes and one without? Then use two parameters, servers_with_volumes_count and servers_without_volumes_count which will map to the count parameter for ResourceGroup. It's ok for count to be 0: http://docs.openstack.org/developer/heat/template_g

[Openstack] HEAT - Conditional Statements

2016-02-22 Thread Brent Troge
I have a heat template which accepts parameters/values via an environment file. This heat template creates x amount of cinder volumes based on the parameter value defined in the environment file. I have instances that dont require cinder volumes, so it is possible that the instances could also use