handsome-state-59775
04/15/2021, 5:47 AMpulumi state list | grep protected | xargs -I{} pulumi state unprotect {}
?red-match-15116
04/15/2021, 6:03 AMpulumi stack export
might be the closest thing to what you wanthandsome-state-59775
04/15/2021, 6:21 AMpulumi stack export | jq '.deployment.resources[] | select(.protect == true) | .urn' | xargs -I{} pulumi state unprotect {}
^ this works, but is sooo slooowwwww... 4.5 mins for 12 resources
anything i can do to speed this up safely?red-match-15116
04/15/2021, 6:29 AMpulumi state unprotect --all
?handsome-state-59775
04/15/2021, 6:40 AMbroad-dog-22463
04/15/2021, 8:10 AMproud-pizza-80589
04/24/2021, 8:25 AM