we lost the stack when we lost the template?

asked 2016-11-07 10:27:18 -0600

kevin_zhu gravatar image

if i lost initial template used for the heat stack-creation, when I do the stack-update on this stack but can not get the initial template used then i will lose the ability to do the stack update?

i did not see any possibility to do the stack update without the template if the template will not be changed.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-12 10:14:26 -0600

zaneb gravatar image

The --existing parameter to heat stack-update or openstack stack update will do a stack update that retains the existing parameters, template and environment except for any changes you explicitly pass.

You can also download the current template for a stack using the heat template-show or openstack stack template show commands. (Note that the template returned is serialised as JSON, so you'll lose the original YAML formatting and any YAML comments.)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-11-07 10:27:18 -0600

Seen: 57 times

Last updated: Nov 12 '16