Back to Ohmyzsh

Pulumi

plugins/pulumi/README.md

latest1.7 KB
Original Source

Pulumi

This is an Oh My Zsh plugin for the Pulumi CLI, an Infrastructure as Code (IaC) tool for building, deploying and managing cloud infrastucture.

This plugin provides:

  • 🚀 Short, intuitive aliases for common Pulumi commands
  • 🎯 Auto-completion support for Pulumi

To use it, add pulumi to the plugins array in your .zshrc file:

zsh
plugins=(... pulumi)

⚡ Aliases

AliasCommandDescription
pulpulumiShortcut for Pulumi CLI
pulcspulumi config setSet Pulumi configuration
puldpulumi destroyDestroy all resources
pullogpulumi logs -fTail Pulumi logs in real-time
pulppulumi previewShow planned changes
pulrpulumi refreshRefresh state from cloud
pulspulumi stackShow stack details
pulshpulumi stack historyShow stack history
pulsipulumi stack initInitialize a new stack
pulslpulumi stack lsList available stacks
pulsopulumi stack outputShow stack outputs
pulsspulumi stack selectSwitch stack
pulupulumi upDeploy infrastructure

🎯 Autocompletion

If pulumi gen-completion zsh is available, this plugin automatically loads Pulumi auto-completion.

🛠️ Contribution

Feel free to open an issue or PR for improvements! 🚀