# pulumi

> Pulumi - Infrastructure as Code in any programming language

- Type: agent or tool
- Field: DevOps & Cloud
- Repository: https://github.com/pulumi/pulumi
- GitHub stars: 25937
- Licence: Apache-2.0
- Language: Go
- Last push: 2026-11-24
- Page: https://imutechz.in/agents/pulumi

## What it is
Pulumi is an open-source infrastructure-as-code platform that lets you define and manage cloud resources using familiar programming languages like TypeScript, Python, Go, and C . It supports AWS, Azure, Google Cloud, Kubernetes, and over 300 providers through a unified engine. Instead of YAML, you use standard language features such as loops, functions, and package managers to model infrastructure. The CLI, language SDKs, and core engine are included in this repository under the Apache 2.0 license.

## Features
- Multi-language support (TypeScript, Python, Go, .NET, Java, YAML)
- 300+ cloud and SaaS providers via Pulumi Registry
- Automation API for embedding IaC in applications
- Native secrets management with Pulumi ESC
- Standard language tooling: loops, functions, classes, packages
- Open source Apache 2.0 with CLI, SDKs, and engine in this repo

## Best for
- Teams wanting IaC in general-purpose languages
- Multi-cloud and hybrid infrastructure automation
- Embedding infrastructure provisioning in applications
- Managing Kubernetes and serverless resources

## Pros
- Uses languages and tools developers already know
- Broad provider ecosystem across clouds and services
- Automation API enables programmatic infrastructure control
- Open source with active community and commercial support

## Cons
- Requires learning Pulumi's resource model and state management
- State backend configuration needed for team collaboration
- Provider coverage varies; some resources may lack support

## Usage
```
import * as aws from "@pulumi/aws";

const sg = new aws.ec2.SecurityGroup("web-sg", {
    ingress: [{ protocol: "tcp", fromPort: 80, toPort: 80, cidrBlocks: ["0.0.0.0/0"] }],
});

for (const i of [0, 1, 2]) {
    new aws.ec2.Instance(`web-${i}`, {
        ami: ami.id,
        instanceType: "t3.micro",
        vpcSecurityGroupIds: [sg.id],
    });
}
```

Tags: infrastructure-as-code, multi-cloud, typescript, python, dotnet, kubernetes, automation-api
