hi, trying to update from aws 0.17.x to 0.18.x wit...
# general
c
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
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
thanks, I will check tomorrow