pulumi-python

Generate Pulumi Python projects and infrastructure code for AWS, Azure, and GCP.

19|3|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/dirien/yet-another-agent-harness --skill pulumi-python
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pulumi-python
Source: https://github.com/dirien/yet-another-agent-harness/tree/main/.claude/skills/pulumi-python
Command: npx skills add https://github.com/dirien/yet-another-agent-harness --skill pulumi-python

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Setting up Pulumi Python projects, wiring provider authentication, managing secrets, and authoring reusable components is repetitive and error-prone; this Skill consolidates project scaffolding, ESC-based secrets management, OIDC authentication, and deployment patterns into a single reference and workflow to reduce mistakes and speed delivery.

Core Features & Use Cases

  • Project scaffolding: Guidance for pulumi new python and toolchain choices (pip, poetry, uv) plus recommended Pulumi.yaml settings.
  • Secrets & auth integration: Instructions to link Pulumi ESC environments and configure OIDC logins for AWS, Azure, and GCP.
  • Multi-cloud resource patterns: Examples and patterns for AWS (S3, VPC, Lambda, Step Functions), Azure (Functions, CosmosDB, Service Bus), and GCP (Cloud Functions, Firestore, Cloud Tasks, BigQuery).
  • Reusable component guidance: How to author multi-language component resources and use component_provider_host for cross-language consumption.
  • Deployment workflow & best practices: Preview, deploy, validate outputs, IAM least-privilege guidance, and ESC-driven run commands.

Quick Start

Create a new Pulumi Python project, link an ESC environment, set the Pulumi.yaml toolchain, and implement resources in main.py to provision and export cloud infrastructure.

Frequently Asked Questions about pulumi-python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a Pulumi Python project and configure the toolchain?

Scaffold a Pulumi Python project using `pulumi new python` and configure toolchains like pip, poetry, or uv in Pulumi.yaml. This establishes the runtime settings and dependency management required to start provisioning cloud resources.

How do I configure OIDC authentication for Pulumi across AWS, Azure, and GCP?

Configure OIDC authentication for Pulumi by setting up OIDC credential flows for AWS, Azure, and GCP. This process involves establishing trust relationships between your cloud provider and Pulumi to enable secure, keyless deployments without storing long-lived credentials.

What is Pulumi ESC and how do I use it for secrets management in Python?

Pulumi ESC is an environment and secrets management tool used in Pulumi Python projects by linking ESC environments. You integrate it to securely manage secrets and configure ESC-driven run commands, ensuring sensitive data is injected during infrastructure deployment.

Can I create multi-language Pulumi component resources in Python?

Yes, you can author multi-language Pulumi component resources in Python by using component_provider_host. This approach packages your Python components for cross-language consumption, allowing teams using other languages to reuse your infrastructure patterns.

What are the common Pulumi Python resource patterns for multi-cloud deployments?

Common Pulumi Python resource patterns include AWS S3, VPC, Lambda, and Step Functions; Azure Functions, CosmosDB, and Service Bus; and GCP Cloud Functions, Firestore, Cloud Tasks, and BigQuery. These patterns cover storage, compute, queues, and observability resources.

How do I export usable stack outputs and apply IAM least-privilege in Pulumi Python?

Export usable stack outputs directly from your Pulumi Python code to expose resource properties like endpoints and IDs. Concurrently, apply IAM least-privilege patterns by granting only the specific permissions required for your resources during the deployment workflow.