I found it a bit inconsistent that for some resour...
# general
l
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
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
Ok figured, this happens when the
name
property is set originally. The problem is some resources do really need the name to be set.