colossal-beach-47527
06/22/2018, 7:52 PMpulumi refresh
will correct this. Refresh essentially trues up your resource checkpoint file with reality. If that doesn’t work, then you can pulumi stack export > checkpoint.json
and manually remove the reference to the EC2 instance. Then run pulumi stack import < checkpoint.json
.