DEV Community

Cover image for 🐀 Pulumi Playground β€” A Cloudy Sandbox with a Yellow Chick
Wesley Bertipaglia
Wesley Bertipaglia Subscriber

Posted on

🐀 Pulumi Playground β€” A Cloudy Sandbox with a Yellow Chick

This is a submission for the Pulumi Deploy and Document Challenge: Get Creative with Pulumi and GitHub

Hey there, cloud explorer! ☁️🐣

This is my submission for the Pulumi Deploy and Document Challenge, and it's called Pulumi Playground β€” your fun-sized cloud lab where you can spin up infrastructure stacks in seconds... and watch them disappear minutes later, like magic.

πŸ“¦ Source Code: GitHub Repository
πŸ› οΈ Stack: Node.js, TypeScript, Pulumi CLI, Inquirer.js


πŸ’‘ The Idea

I wanted to create a safe and playful environment where developers (especially those new to Pulumi or cloud infrastructure) could quickly test, prototype, and understand how templates work β€” without needing to write a full Pulumi project from scratch.

So I built the Pulumi Playground β€” an interactive CLI that lets you:

  • ⚑ Choose from dozens of official Pulumi templates (like AWS, GCP, Azure, etc.)
  • πŸ§ͺ Deploy stacks instantly
  • πŸ“‚ Or load your own .yaml/.json config file
  • 🧹 Automatically destroy the stack after 5 minutes

It’s fast, ephemeral, and friendly β€” just like a little yellow chick running around in the clouds. 🐀


πŸ€– How It Works

The app has a simple architecture using controller-service-view separation:

  • controllers/ handle user actions and flow
  • services/ abstract Pulumi logic (like stack deploy/destroy)
  • views/ manage the CLI prompts and UX
  • data/templates.list.ts stores all supported templates

Internally, it uses LocalWorkspace.createStack to bootstrap Pulumi templates on the fly. After 5 minutes, the stack is destroyed β€” keeping both your budget and AWS bill clean.


✨ Why This Is Fun (and Useful)

Pulumi Playground:

  • 🐣 Makes it fun to learn and test Infrastructure as Code
  • 🧼 Keeps everything clean with automatic teardown
  • πŸŽ“ Helps you experiment before committing to a real project
  • πŸͺ„ Has adorable branding and zero boilerplate

Whether you're:

  • A Pulumi newbie trying to learn the ropes
  • A cloud engineer experimenting with IaC templates
  • Or just a curious dev who loves 🐀 mascots

...this playground is for you.


πŸ”­ What’s Next?

I’d love to extend this playground with:

  • πŸ—ƒοΈ Tag-based template filtering (by cloud, language, etc.)
  • πŸ’¬ CLI logs with emoji-powered feedback
  • πŸ“₯ Support for user-defined templates
  • ⏱️ Custom destroy timers
  • πŸ₯ Even more duck-themed UI goodness

🧠 Final Thoughts

This was such a fun little project to build β€” combining my love of clean CLI tools, Pulumi’s powerful API, and a bit of feathered branding fun. 🐀✨

Pulumi Playground proves that learning cloud infra doesn't have to be dry or difficult. With the right tooling, it can be fast, secure, and even delightful.

Big thanks to the Pulumi and DEV teams for this challenge β€” I had a blast!

Let the chick play on. ☁️🐣

Top comments (2)

Collapse
 
neusacodes profile image
neusacodes

Looks fun, I'll try it ;)

Collapse
 
wesleybertipaglia profile image
Wesley Bertipaglia

Thank you so much 🀝