quaint-artist-58613
11/28/2019, 10:54 PMimport * as pulumi from "@pulumi/pulumi";
const current_stack = pulumi.getStack(); // assume current_stack deployed into account A
const infra_stack = new pulumi.StackReference(`acmecorp/infra/${current_stack}`); // assume infra_stack also deployed into account A
But is there a way to do stackreference across aws accounts ?
import * as pulumi from "@pulumi/pulumi";
const current_stack = pulumi.getStack(); // assume current_stack deployed into account A
const infra_stack = new pulumi.StackReference(`acmecorp/infra/${current_stack}`); // assume infra_stack deployed into account B, does this really work ?
Thanks.white-balloon-205
11/28/2019, 11:06 PM