Ask Your Question

Heat resource 'Updates cause replacement' question

asked 2015-08-06 18:15:19 -0500

Sihan gravatar image

In the document

Every property has either 'Updates cause replacement' or 'Can be updated without replacement.'

I am confused what the replacement mean? Does it mean that I need to redeploy the stack if I want to change the property value?



edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-08-17 18:46:28 -0500

asalkeld gravatar image

Let's use this silly example:

    type: foo
      x: 1
      y: 2
    type: foo

For the example x is updateReplace and y is updatable.

  1. I change property x from "1" to "4" and stack-update, result: only resource A is deleted then re-created
  2. I change property y from "2" to "3" and stack-update, result: only resource B is updated

Note: these field settings come from the underlying services that don't allow certain fields to be updated and are only available on create.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-08-06 18:15:19 -0500

Seen: 661 times

Last updated: Aug 17 '15