Skip to content

API Reference parrot_tools.pulumi.config

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.pulumi.config

View source

Pulumi configuration and data models.

Defines configuration options for running Pulumi operations including stack management, state backend, and input/output models for all Pulumi operations (plan, apply, destroy, status).

Alias BaseExecutorConfig

Re-exported from parrot_tools.security.base_executor.BaseExecutorConfig.

Class PulumiApplyInput

Input for pulumi_apply operation.

Used to apply infrastructure changes. By default runs with auto_approve=True to avoid interactive prompts in agent workflows.

Fields:

Field Type Default Description
project_path str Path to Pulumi project directory containing Pulumi.yaml
stack_name Optional[str] None Stack name to apply (defaults to config.default_stack)
config Optional[dict[str, Any]] None Configuration values to set before apply (key-value pairs)
auto_approve bool True Skip confirmation prompt and apply immediately
target Optional[list[str]] None Specific resource URNs to target for apply
refresh bool True Refresh resource state before apply
replace Optional[list[str]] None Resource URNs to force-replace during apply

Class PulumiConfig

Configuration for Pulumi executor.

Extends BaseExecutorConfig with Pulumi-specific settings for stack management, state backend, and Docker execution.

Attributes:

Attribute Type Description
docker_image str
default_stack str
auto_create_stack bool
state_backend str
pulumi_home Optional[str]
config_passphrase Optional[str]
non_interactive bool
skip_preview bool

Class PulumiDestroyInput

Input for pulumi_destroy operation.

Used to tear down infrastructure. By default runs with auto_approve=True to avoid interactive prompts in agent workflows.

Fields:

Field Type Default Description
project_path str Path to Pulumi project directory containing Pulumi.yaml
stack_name Optional[str] None Stack name to destroy (defaults to config.default_stack)
auto_approve bool True Skip confirmation prompt and destroy immediately
target Optional[list[str]] None Specific resource URNs to target for destruction

Class PulumiOperationResult

Result of a Pulumi operation.

Contains the operation outcome including success status, affected resources, stack outputs, and a summary of changes.

Fields:

Field Type Default Description
success bool Whether the operation completed successfully
operation str Operation type: 'preview', 'up', 'destroy', 'stack'
resources list[PulumiResource] List of resources affected by the operation
outputs dict[str, Any] Stack outputs after the operation
summary dict[str, int] Summary of changes: {create: N, update: N, delete: N, same: N}
duration_seconds Optional[float] None Duration of the operation in seconds
error Optional[str] None Error message if operation failed
stack_name Optional[str] None Name of the stack operated on
project_name Optional[str] None Name of the Pulumi project

Class PulumiPlanInput

Input for pulumi_plan operation.

Used to preview infrastructure changes without applying them. Returns a detailed diff of resources to be created, updated, or deleted.

Fields:

Field Type Default Description
project_path str Path to Pulumi project directory containing Pulumi.yaml
stack_name Optional[str] None Stack name to preview (defaults to config.default_stack)
config Optional[dict[str, Any]] None Configuration values to set before preview (key-value pairs)
target Optional[list[str]] None Specific resource URNs to target for preview
refresh bool True Refresh resource state before preview

Class PulumiResource

A resource in Pulumi state.

Represents a single resource managed by Pulumi, including its type, name, current status, and outputs.

Fields:

Field Type Default Description
urn str Unique resource name (URN) in format urn:pulumi:stack::project::type::name
type str Resource type (e.g., docker:index/container:Container)
name str Logical resource name in the Pulumi program
status str Resource status: 'create', 'update', 'delete', 'same', 'replace'
outputs Optional[dict[str, Any]] None Resource outputs (properties computed after creation)
provider Optional[str] None Provider managing this resource

Class PulumiStatusInput

Input for pulumi_status operation.

Used to check the current state of a stack including deployed resources and their outputs.

Fields:

Field Type Default Description
project_path str Path to Pulumi project directory containing Pulumi.yaml
stack_name Optional[str] None Stack name to check (defaults to config.default_stack)
show_urns bool False Include full URNs in resource listing

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally