What's the right way to import a gke managed certi...
# general
l
What's the right way to import a gke managed certificate? I have been trying
Copy code
new k8s.apiextensions.CustomResource("service-dev-certificate", {
    apiVersion: "<http://networking.gke.io/v1beta1|networking.gke.io/v1beta1>",
    kind: "ManagedCertificate",
    metadata: {
        labels: {
            app: "networking",
            stage: "service-dev",
        },
        namespace: "namespace",
        name: "service-dev-certificate",
    },
    spec: {
        domains: ["<http://service-dev.example.com|service-dev.example.com>"]
    },
}, { provider: k8sProvider, import: "service-dev-certificate" })
but that doesn't seem to find it
Is there a way to see the requests, where does pulumi try to look up imports?
b
yes, run it like
TF_LOG=DEBUG pulumi up -v=10
l
hm that doesn't seem to make the output different
b
sorry,forgot to add
--logtostderr
, so it should be:
TF_LOG=DEBUG pulumi up -v=10 --logtostderr
👍 1
l
figured this out btw the correct import id is:
namespace/name
instead of just
name
👍🏻 1