This message was deleted.
# general
s
This message was deleted.
i
So I think I figured out a string that will work (I am specifying the kubernetes provider as well), it is
import: 'namespaces/traefik'
. BUT, it says:
Copy code
kubernetes:core/v1:Namespace (traefik):
    warning: inputs to import do not match the existing resource; importing this resource will fail
It is failing because our metadata doesn’t match? I’d rather not specify metadata, just name and import. I found open issues about this, and the requirement to specify basically all the details to import (which seems to defy the whole reason to import them by name)
e
Might be easier to use the
pulumi import
command to import it and then use
up
to resync it. Just make a note of all the code
import
shows because you might need to set some of those fields to not trigger a replace.
👍 1