Hi community!, being working with pulumi and autom...
# general
c
Hi community!, being working with pulumi and automation API for a while now, this is my first time importing resources into a stack. I'm trying to import a kubernetes CustomResource, all examples i found on imports are for Cloud Resources like Ec2 or Rds, but I can't find any example for kubernetes resources. According to the documentation I need to find the lookup property on the custom resource documentation page but no Import section is present there. My code is:
Copy code
import pulumi
import pulumi_kubernetes

pulumi_kubernetes.apiextensions.CustomResource(
    f"{nodeclass.name}-KarpenterEC2NodeClass",
    api_version="karpenter.k8s.aws/v1",
    kind="EC2NodeClass",
    opts=pulumi.ResourceOptions(
        provider=provider, #Kubernetes Provider
        import_=nodeclass.name,
    ),
)
Is the import possible?