Hello Pulumi community! I'm <@U029HQAKWQ0> aka Kat...
# general
b
Hello Pulumi community! I'm @busy-journalist-6936 aka Kat Morgan from Pulumi's community team and I need to crowd source some help. To highlight the super powers of Pulumi I need your favorite things you do with Pulumi in the thread below! I am gathering a collection of favorite things showing off "only possible with pulumi" tricks (vs any other single tool). Whether you have a favorite trick you use when you write in projects, a feature on pulumi cloud you use all the time, or any ecosystem thing that is a preferred quality of life boost for you. If you're unsure whether to share, then share anyway and we'll all benefit together ๐Ÿ™‚ If I use your tip in upcoming content, I'll happily credit the submitter per your preference. If I can get 10 or more participants, I'll also drop swag for the top 3 submissions. I can't wait to hear from you all! PS: Share this request with a friend too, if you know anyone else who has fun tricks worth knowing @ them in thread or nudge them to drop the tips below
๐Ÿงต
h
commit python sins to simplify my infrastructure code
b
@hundreds-gpu-71155 "commit python sins"
๐Ÿคฃ๐Ÿคฃ๐Ÿคฃ Same for real tho, drop your infractions as 7 deadly sins and I will absolve you of your transgressions lol.
l
Create unit tests for re-usable infrastructure code (that's two things, I guess ๐Ÿ™‚ ).
h
ok, but they're all going to be Pride ๐Ÿ˜›
b
@little-cartoon-10569 I'm here for the permalinks ๐Ÿ™ ๐Ÿ‘€
l
Ooo, a challenge. Finding non-closed-source code for this ๐Ÿ™‚ I could possibly build a demo project for this. I may have time later today... ๐Ÿค”
b
@little-cartoon-10569 if you pseudo code it I can get it over the line, I just want to show off what you do ๐Ÿ™‚
l
Here's some real code ๐Ÿ™‚ You'll need to guess the package.json though ๐Ÿ˜ž https://gist.github.com/tenwit/969fd6842a50d7aa02b0b4e285b5817c
m
Use " Hot reload " for IaC ๐Ÿ‘‰ https://www.techwatching.dev/posts/pulumi-watch
b
@millions-journalist-34868 Whaaaaaaaaโ€ฆ.. I DIDNT EVEN KNOW ABOUT THAT
m
Pulumi watch is my favorite command for prototyping.
f
We're an MSSP, using pulumi to stand up SIEM stacks in our client's azure clouds. Automatically building the dependency tree has been life-saving. That and being able to programmatically define resources - we take an array of log sources and can map that into load balancing rules, NSG rules, function app connectors to deploy, database tables, kafka topics - in 25+ environments in parallel. And we get full linting + testing + previews before every change. Terraform couldn't do this. ARM/Bicep couldn't do this. Even the AWS cloud SDK couldn't do this.
b
@fast-sandwich-30809 this rocks, and Iโ€™m super interested in what you guys are doing. Thank you for sharing, no pressure if you ever want to share more about how you build your tech stack and service offering with pulumi I want to give you a stage and make it as low effort as possible.