https://pulumi.com logo
b

blue-pharmacist-31672

06/01/2023, 9:49 AM
Is there a way to check using the pulumi CLI if a resource in a stack is protected or not? From searching around I can't find an answer to this and none of the
Flags
listed seem to do it.
e

echoing-dinner-19531

06/01/2023, 9:53 AM
If you look up the resource in the stack state (pulumi stack export) it will have the protect property set true, but feel free to raise an issue for a nicer UX for that.
b

blue-pharmacist-31672

06/02/2023, 12:30 PM
@echoing-dinner-19531 Thanks so much! 😄
2 Views