Consider adding a Not()
function for bool and bool pointer outputs
#12503
Labels
area/sdks
Pulumi language SDKs
customer/feedback
Feedback from customers
kind/enhancement
Improvements or new features
language/go
Hello!
Issue details
A useful quality of life improvement would be to have a
Not()
function that chains onto Bool outputs and Bool pointer outputs, and will invert them - very common to need the inverse of adisable
on a component to pass to anenable
on an inner resource or similar.This would simplify variants like the following:
The text was updated successfully, but these errors were encountered: