Hey friends, ```import * as k8s from "@pulumi/kube...
# general
Hey friends,
Copy code
import * as k8s from "@pulumi/kubernetes";
import * as pulumi from "@pulumi/pulumi";
const env = pulumi.getStack();
const infra_stack = new pulumi.StackReference(`acmecorp/infra/${env}`);
const provider = new k8s.Provider("k8s", { kubeconfig: infra.getOutput("kubeConfig") });
const service = new k8s.core.v1.Service(..., { provider: provider });
If infra_stack is deployed in aws account A and current stack is deployed in aws account B, does the code snippet still work?🙂