This message was deleted.
# general
s
This message was deleted.
e
Please create a github issue. If you've got a repro program that will really help but else the stack trace and if you can debug logs (add
--logtostderr -v9
to your pulumi command). That assert looks reasonable so something odd is happening.
e
i will create a github issue as I was able to reproduce. looks like the problem happens when you have a stackreference:
Copy code
import * as k8s from "@pulumi/kubernetes";
import * as kx from "@pulumi/kubernetesx";
import * as pulumi from "@pulumi/pulumi";

const gkeStack = new pulumi.StackReference("telushealth/gke/dev");
const appLabels = { app: "nginx" };
const deployment = new k8s.apps.v1.Deployment("nginx", {
    spec: {
        selector: { matchLabels: appLabels },
        replicas: 1,
        template: {
            metadata: { labels: appLabels },
            spec: { containers: [{ name: "nginx", image: "nginx" }] }
        }
    }
});
export const name = deployment.metadata.name;
here are the logs:
and plan.json file: