Reputation: 23277
I'm getting this output when I want to list my current stack:
I don't quite figure out why it's getting me this message.
This is my project:
Here you have code:
import * as k8s from "@pulumi/kubernetes";
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.apply(m => m.name);
I've tried to up
current resources:
Upvotes: 0
Views: 369
Reputation: 72191
because you didnt create any resources with pulumi up
yet. pulumi stack
only displays information about current stack state. after you run pulumi up
and accept to create resources pulumi stack
will show you that the resource is created.
Upvotes: 5