8000 GitHub - hrishin/pulumi-infra
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hrishin/pulumi-infra

Repository files navigation

Pulumi infra

A minimal Pulumi packages for provisioning a single AWS EC2 bucket using Python.

Prerequisites

  • An AWS account with permissions to create EC2.
  • AWS credentials configured in your environment (for example via AWS CLI or environment variables).
  • Python 3.6 or later installed.
  • Pulumi CLI already installed and logged in.

Getting Started

  1. Setup the local environment:
mkdir -p ~/.pulumi-local-state
pulumi login file://$HOME/.pulumi-local-state
  1. Follow the prompts to set your project name and AWS region (default: eu-west-2).

  2. Preview the planned changes:

pulumi preview
  1. Deploy the stack:
pulumi up
  1. Tear down when finished:
pulumi destroy

Configuration

This template defines the following config value:

  • aws:region (string) The AWS region to deploy resources into. Default: us-east-1

View or update configuration with:

pulumi config get aws:region
pulumi config set aws:region us-west-2

Outputs

Retrieve outputs with:

pulumi stack output

Help and Community

If you have questions or need assistance:

Contributions and feedback are always welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0