sparse-intern-71089
09/01/2020, 3:36 PMcool-fireman-90027
09/01/2020, 4:58 PMignoreChanges
option to avoid changes in properties leading to diffs or to change defaults for a property without forcing all existing deployed stacks to update or replace the affected resource.incalculable-dream-27508
09/02/2020, 10:57 AMimport pulumi
import pulumi_openstack as openstack
openstack.compute.Instance("some_name", flavor_name="s1-2", image_name="Ubuntu 16.04", ignoreChanges=['user_data'])
?cool-fireman-90027
09/02/2020, 1:19 PMuser_data=".........",
opts=ResourceOptions(ignore_changes=["user_data"]))
based on this example: https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges
res = MyResource("res",
prop="new-value",
opts=ResourceOptions(ignore_changes=["prop"]))
incalculable-dream-27508
09/02/2020, 2:10 PMincalculable-dream-27508
09/02/2020, 2:10 PM