Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.79 KB

README.md

File metadata and controls

61 lines (41 loc) · 1.79 KB

AWS TypeScript Pulumi Template

A minimal Pulumi template for provisioning AWS infrastructure using TypeScript. This template creates an Amazon S3 bucket and exports its name.

Prerequisites

Getting Started

  1. Initialize a new Pulumi project:

    pulumi new aws-typescript

    Follow the prompts to set your:

    • Project name
    • Project description
    • AWS region (defaults to us-east-1)
  2. Preview and deploy your infrastructure:

    pulumi preview
    pulumi up
  3. When you're finished, tear down your stack:

    pulumi destroy
    pulumi stack rm

Project Layout

  • Pulumi.yaml — Pulumi project and template metadata
  • index.ts — Main Pulumi program (creates an S3 bucket)
  • package.json — Node.js dependencies
  • tsconfig.json — TypeScript compiler options

Configuration

Key Description Default
aws:region The AWS region to deploy resources into us-east-1

Use pulumi config set <key> <value> to customize configuration.

Next Steps

  • Extend index.ts to provision additional resources (e.g., VPCs, Lambda functions, DynamoDB tables).
  • Explore Pulumi AWSX for higher-level AWS components.
  • Consult the Pulumi documentation for more examples and best practices.

Getting Help

If you encounter any issues or have suggestions, please open an issue in this repository.