bland-camera-22041
08/12/2019, 1:33 PMtry{
NatGw = aws.ec2.getNatGateway({
tags: {
Name: "RCS-CDR"
}
});
} catch(err){
// Craete a New NAT GW here ...
}
The error is not caught but it's thrown in my terminal after pulumi up. I'd like to catch the error and create a new resource if the gatway with the name RCS-CDR
does not existwhite-balloon-205