https://pulumi.com logo
#general
Title
# general
c

cold-coat-35200

05/07/2019, 2:00 PM
hi, trying to update from aws 0.17.x to 0.18.x without any code change, only depencencies and pulumi tries to recreate my ec2 instances, because something added to ebsBlockDevices by pulumi:
Copy code
++aws:ec2/instance:Instance: (create-replacement)
                [id=i-05c0e1f10f4f3799c]
                [urn=urn:pulumi:sbx-app::etcd-clusters::Etcd:EtcdCluster$Etcd:EtcdNode$aws:ec2/instance:Instance::etcd3-ec2Node]
              ~ ebsBlockDevices    : [
                  ~ [0]: {
                          + __defaults         : []
                        }
                  ~ [1]: {
                          + __defaults         : []
                        }
                ]
            +-aws:ec2/instance:Instance: (replace)
                [id=i-05c0e1f10f4f3799c]
                [urn=urn:pulumi:sbx-app::etcd-clusters::Etcd:EtcdCluster$Etcd:EtcdNode$aws:ec2/instance:Instance::etcd3-ec2Node]
              ~ ebsBlockDevices    : [
                  ~ [0]: {
                          + __defaults         : []
                        }
                  ~ [1]: {
                          + __defaults         : []
                        }
                ]
Is this normal?
w

white-balloon-205

05/07/2019, 5:00 PM
The
__defaults
changes should not require replacement. (And they should not be shown in the diff - see https://github.com/pulumi/pulumi/issues/2586). Are you using the latest CLI? If you are still seeing problems, feel free to DM me
pulumi preview --logtostderr -v=9 2> out.txt
and I can take a look into what is causing these replacements to be proposed.
c

cold-coat-35200

05/07/2019, 6:10 PM
thanks, I will check tomorrow