https://pulumi.com logo
#general
Title
# general
f

full-dress-10026

09/24/2018, 9:08 PM
I didn't see any way to get the outputs from the
Stack
object so I tried this:
Copy code
let myStack = new aws.cloudformation.Stack("my-stack", {
    templateUrl: templateUrl,
    capabilities: ["CAPABILITY_NAMED_IAM"]
});

let myStackName = myStack.name;

let r = shell.execSync(`aws cloudformation describe-stacks --stack-name ${myStackName}`);
console.log("out:", r);
Intuitively that would work, but it's now clear there are multiple stages in processing an update. Presumably
.name.get()
is available at a later stage.