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

little-energy-64187

12/02/2019, 7:10 PM
I found it a bit inconsistent that for some resources I need to remove the
import
option for already imported resources (and perhaps add
aliases
) otherwise pulumi will try to replace them, but it can stay for k8s resources and no replacement would happen. What can be the reason for that?
w

white-balloon-205

12/02/2019, 10:56 PM
You should never need to remove
import
until a resource needs to be replaced due to some other change you have made. This should not be related to the kind of resource. What resource are you seeing that you need to remove this from? And what replacement is happening?
l

little-energy-64187

12/05/2019, 2:54 PM
Ok figured, this happens when the
name
property is set originally. The problem is some resources do really need the name to be set.