https://pulumi.com logo
Title
b

bored-oyster-3147

10/05/2021, 5:43 PM
Is there an issue or epic that currently exists for tracking adding the
pulumi state unprotect
functionality to Automation API?
👍 1
b

broad-dog-22463

10/05/2021, 5:54 PM
There's not @bored-oyster-3147 - please feel free to open open if you need the functionality 🙂
r

red-match-15116

10/05/2021, 6:00 PM
FWIW this should be possible by parsing the state file with
stack.export() -> unprotect whatever you want -> stack.import()
b

bored-oyster-3147

10/05/2021, 6:06 PM
true but that's kinda messy IMO, and relies on the consumer maintaining knowledge about the shape of your state file or crawling it. I'll open an issue for it cause I think its definitely needed. How would you both like me to do that? Because I can do the dotnet implementation but probably wouldn't do the others - so should I open 2 issues, an epic and a dotnet one and PR against the dotnet one, or should I just open a dotnet one and do that?
r

red-match-15116

10/05/2021, 6:09 PM
Open one issue with 4 checklist items and make a dotnet PR and link it in the checklist and check off the dotnet item. Hopefully that makes sense.
b

bored-oyster-3147

10/05/2021, 6:09 PM
I can do that!
r

red-match-15116

10/05/2021, 6:10 PM
Thanks @bored-oyster-3147!