I've just come across a Pulumi stack maintenance s...
# pulumiverse
l
I've just come across a Pulumi stack maintenance script, and thought.. this belongs in https://github.com/pulumiverse. But not in its own repo, it's too small! (It just exports a stack, loads it as a JSON object, removes the pending_operations element and re-imports it.) What model(s) would be suitable for maintaining a repo of very small contributions like this?
awesome-pulumi kinda has the same issue: other meta-information about Pulumi across the web (Pulumi podcasts, Pulumi emoji collections, Pulumi memes....) could go into the awesome-pulumi repo, right?
e
Note that
pulumi refresh
does most of that operation today. It just leaves pending creates, and we're going to make it remove those as well at some point soon.
👍 1
l
It removes pending updates and deletes but leaves pending creates?
e
Currently, we've internally agreed it should remove pending creates as well so we'll get round to making that change soon. Been a bit pre-occupied getting yaml and java and everything else ready for PulumiUP for the last few weeks though 🙂
Still a good question for future small scripts though!
l
Just to confirm: does it currently remove pending updates and deletes?
e
yes
💯 1
l
Just spoke to client using the script, they're looking forward to that update! 👍
e
How about we create a mono-repo called
pulumi-utils
?
l
Yes some day.. don't need it just now, since this particular script has been rendered pointless due to
pulumi refresh
:)