polterware/kit

Infrastructure

Manage Pulumi infrastructure from Polter — stacks, deploys, config, and editor integration.

The Infrastructure tab brings Pulumi operations into Polter's interactive flow. You can manage stacks, preview and deploy changes, edit config, and import existing resources — all without leaving the CLI.

Core Operations

CommandWhat it does
upDeploy infrastructure changes
previewPreview changes before deploying
destroyTear down all resources in the current stack
refreshSync state with the actual cloud provider

These commands support the --stack, --yes, and --debug flags through the interactive flag picker.

Stack Management

CommandWhat it does
stack lsList all stacks
stack selectSwitch to a different stack
stack initCreate a new stack
stack rmRemove a stack
stack outputShow current stack outputs

Config

CommandWhat it does
configList all config key-value pairs
config setSet a config value (supports --secret via extra args)
config getGet a specific config value

Import & State

CommandWhat it does
importImport an existing cloud resource into Pulumi state
state deleteRemove a resource from state without destroying it

Auth & Setup

CommandWhat it does
loginLog in to Pulumi Cloud
whoamiShow the current authenticated user
newCreate a new Pulumi project from a template

These also appear in the Setup tab alongside login commands for other tools.

Editor Integration

Two commands open files directly in your editor:

  • edit config — opens Pulumi.yaml
  • edit code — opens the main IaC source file (e.g. index.ts, __main__.py)

Polter uses $VISUAL or $EDITOR to determine which editor to launch. See Troubleshooting if the editor doesn't open.

Example: Preview and Deploy

Interactive path:

  1. Navigate to the Infrastructure tab
  2. Select preview
  3. Pick --stack dev in the flag picker
  4. Review the diff
  5. Go back, select up with --yes --stack dev

Executed commands:

pulumi preview --stack dev
pulumi up --yes --stack dev

On this page