Git Product home page Git Product logo

terraform-aws-vpc's Introduction

Terraform module for simplified creation of VPC

Examples

module "vpc" {
  source    = "git::https://github.com/anmolnagpal/terraform-aws-vpc.git?ref=master"
  cidr_block                     = "10.240.0.0/16"
  instance_tenancy               = "default"
  enable_dns_hostnames           = "true"
  enable_dns_support             = "true"
  enable_classiclink             = "false"
  enable_classiclink_dns_support = "false"
  Name                           = "test-vpc"
  Environment                    = "test"
  CreatedBy                      = "terraform"
  Organization                   = "clouddrove"
}

Inputs

Name Description Type Default Required
CreatedBy CreatedBy (e.g. terrafrom, dev, devops) string n/a yes
Environment Environment (e.g. prod, dev, staging) string n/a yes
Name Name (e.g. app or cluster) string n/a yes
Organization Organisation (e.g. clouddrove, cd) string n/a yes
cidr_block CIDR for the VPC string "" no
enable_classiclink A boolean flag to enable/disable ClassicLink for the VPC string "false" no
enable_classiclink_dns_support A boolean flag to enable/disable ClassicLink DNS Support for the VPC string "false" no
enable_dns_hostnames A boolean flag to enable/disable DNS hostnames in the VPC string "true" no
enable_dns_support A boolean flag to enable/disable DNS support in the VPC string "true" no
instance_tenancy A tenancy option for instances launched into the VPC string "default" no

Outputs

Name Description
igw_id The ID of the Internet Gateway
ipv6_cidr_block The IPv6 CIDR block
vpc_cidr_block The CIDR block of the VPC
vpc_default_network_acl_id The ID of the network ACL created by default on VPC creation
vpc_default_route_table_id The ID of the route table created by default on VPC creation
vpc_default_security_group_id The ID of the security group created by default on VPC creation
vpc_id The ID of the VPC
vpc_ipv6_association_id The association ID for the IPv6 CIDR block
vpc_main_route_table_id The ID of the main route table associated with this VPC.

๐Ÿ“š Refrence :

๐Ÿ‘ฌ Contribution

  • Open pull request with improvements
  • Discuss ideas in issues
  • Reach out with any feedback Twitter URL

terraform-aws-vpc's People

Contributors

anmolnagpal avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

devops-9

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.