Skip to main content

A good-practice AWS VPC written in Python for Pulumi

Project description

AWS VPC Component for Pulumi

This is a project containing components for use with Pulumi, a tool for provisioning cloud infrastructure based on a description written with general purpose programming languages.

This project provides a Pulumi component named Vpc, which can be used to create an AWS VPC based on some of the good practices described by the AWS documentation, posts made by AWS solutions engineers, and the experience of the package author, contributors and reviewers.

For example, address space is assigned in an asymetric manner between public and private subnets, as described in the article Practical VPC Design. VPC Endpoints for S3 and DynamoDB can optionally be configured, and flow logging can be enabled if desired.

The Vpc component is implemented in both Node.js (using TypeScript) and Python 3, with identical functionality and a very similar API between the two languages. Both support Pulumi v2.1.0 and above.

This package does not currently support entirely private VPCs (i.e. those without an internet gateway attached), though it is intended to support such designs in future.

A CHANGELOG is maintained for this project.

Installation

Node.js

$ npm install --save '@jen20/pulumi-aws-vpc'

Python

$ pip3 install 'jen20_pulumi_aws_vpc'

Examples

An example of the usage in a Pulumi program of each component is available:

License

This package is licensed under the Mozilla Public License, v2.0.

Contributing

Please feel free to open issues or pull requests on GitHub!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jen20_pulumi_aws_vpc-2.2.0.tar.gz (10.9 kB view details)

Uploaded Source

File details

Details for the file jen20_pulumi_aws_vpc-2.2.0.tar.gz.

File metadata

  • Download URL: jen20_pulumi_aws_vpc-2.2.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

File hashes

Hashes for jen20_pulumi_aws_vpc-2.2.0.tar.gz
Algorithm Hash digest
SHA256 80a4071e4176ba17c41ed7393b781d9e1c7706084b1cce3d98d24fa3bfb9953f
MD5 ee04fd7970b308b3cfe0fd3fe7c3287a
BLAKE2b-256 9ed032f88dc1897eb7cfdb905310c7a61dccba7478a78cfb70e27d13a24b00e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page