GithubHelp home page GithubHelp logo

peinser / tf-aws-landingzone-module-vpc Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 24 KB

Terraform module to create the landingzone VPC setup in AWS.

Home Page: https://peinser.com

HCL 100.00%
aws terraform vpc landingzone landingzone-aws

tf-aws-landingzone-module-vpc's Introduction

Requirements

Name Version
aws >= 5.35.0

Providers

Name Version
aws 5.46.0

Modules

Name Source Version
vpc terraform-aws-modules/vpc/aws 5.7.1
vpc_endpoints terraform-aws-modules/vpc/aws//modules/vpc-endpoints 5.7.1

Resources

Name Type
aws_availability_zones.available data source
aws_iam_policy_document.generic_endpoint_policy data source

Inputs

Name Description Type Default Required
create_database_subnets Whether to create database subnets bool true no
create_nat_gateways Whether to create the NAT gateway resource(s) bool true no
create_vpc Whether to create the VPC configuration bool true no
create_vpc_endpoints Whether to create the VPC S3 endpoint configuration. Enabled by default for prod environments bool false no
create_vpc_flow_logs Whether to create VPC flow log resources. Enabled by default for prod environments bool false no
database_subnet_cidr_blocks A list of CIDR blocks to use for database subnets list [] no
database_subnet_name_prefix Prefix to add to database subnet names string "database" no
env Environment of the configuration (dev|prod) string n/a yes
nat_gateway_per_az Whether to create a NAT gateway in each configured AZ. Enabled by default for prod environments bool false no
private_subnet_cidr_blocks A list of CIDR blocks to use for private subnets list [] no
private_subnet_name_prefix Prefix to add to private subnet names string "private" no
public_subnet_cidr_blocks A list of CIDR blocks to use for public subnets list [] no
public_subnet_name_prefix Prefix to add to private subnet names string "public" no
region n/a string "eu-west-1" no
single_nat_gateway Whether to create only a single NAT GW in the VPC bool false no
tags Tags to add to all created resources map(string)
{
"peinser-lz:tf-managed": "true"
}
no
vpc_cidr CIDR block of the main VPC string "10.0.0.0/16" no
vpc_flow_logs_aggregation_interval The maximum interval of time (in seconds) during which a flow of packets is captured and aggregated into a flow log record number 600 no
vpc_flow_logs_retention_days Retention (in days) that VPC flow logs are kept number 30 no
vpc_name Name of the main VPC string "vpc" no

Outputs

Name Description
database_subnets List of database subnet CIDR blocks
nat_gateway_eips List of allocated EIPs of NAT gateways
private_subnets List of private subnet CIDR blocks
public_subnets List of public subnet CIDR blocks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.