Ask Your Question
0

heat check if resource exists before creating it

asked 2014-09-02 09:42:26 -0500

drmike gravatar image

Hi

Is there a way to check if a resource exists before creating it in a heat template.

For example if a security group exists before creating it in the heat template

Cheers

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-01-19 03:28:02 -0500

No. Currently Heat hasn't such option.

However you could use custom constraints [1] for parameters to make sure, that some of provided resources existed.

[1] http://docs.openstack.org/developer/heat/template_guide/hot_spec.html#custom-constraint (http://docs.openstack.org/developer/h...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-09-02 09:41:11 -0500

Seen: 786 times

Last updated: Sep 02 '14