https://pulumi.com logo
#typescript
Title
# typescript
p

proud-pizza-80589

02/02/2021, 1:58 PM
Is it possible to check if
someStack.getOutput(identifier);
exists or not? The typescript output is an Output<any> but the text docs say that it can be undefined.
b

broad-helmet-79436

02/03/2021, 10:49 AM
if you just want to fail if it doesn’t exist, you should be able to do that with
someStack.requireOutput(identifier)
p

proud-pizza-80589

02/03/2021, 1:12 PM
it is for control flow, only execute if this cluster exists type checks. Problem is that the output is a secret so i cannot use the ‘Value’ version of this feature.