Giter Site home page Giter Site logo

terraform-aws-bootstrap's Introduction

AWS Bootstrap

The new AWS Lab accounts from vending machines come out with nothing provisioned. Use this stack to provision a basic setup with public and private subnets, and a bastion ASG.

Usage

module "lab-infra" {
  source = "git::ssh://[email protected]/cloudreach/cr-lab-bootstrap-aws.git"

  vpc_cidr          = "10.0.0.0/16"
  ssh_public_key    = "${var.ssh_public_key}"
  inbound_ssh_cidrs = "${var.inbound_ssh_cidrs}"
  bastion_ami_id    = "ami-0cf31d971a3ca20d6"
  dmz_subnet_count  = -1
  lan_subnet_count  = -1
}
Name Description Type Default Required
vpc_cidr CIDR Range to provision the VPC with. String 10.0.0.0/16 no
ssh_public_key SSH Key for bastion access. authourized_keys format. String `` yes
inbound_ssh_cidrs List of CIDRs allowed to access bastion host. List `` no
bastion_ami_id AMI ID to use for the bastion host String `` yes
dmz_subnet_count Number of DMZ subnets to create. Use -1 to create 1 subnet per AZ Number -1 no
lan_subnet_count Number of LAN subnets to create. Use -1 to create 1 subnet per AZ Number -1 no

Contributing

Feel free to contribute by forking and submitting as a pull request.

TODO

  • DNS with Route53
  • Tests?
  • Fix SSH host key on bastion replacement.
  • Tagging

terraform-aws-bootstrap's People

Contributors

shane4ster avatar

Watchers

 avatar  avatar

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.