sparse-intern-71089
02/22/2019, 9:13 AMbig-piano-35669
get
and that, by doing so, it will read the resource from the existing state and leave it be.
} else {
const stackRef = new pulumi.StackReference(...)
const blob = azure.storage.Blob.get(
"my-blob-b",
stackRef.getOutput("zipblob"),
);
}
That said, I had never considered using StackReference
to reference the current stack being deployed, and I don't know if the read will prevent the delete, so @microscopic-florist-22719 should definitely weigh in before I lead you down the wrong path 🙂