terraform-aws-dynamic-subnets

Terraform module for public and private subnets provisioning in existing VPC

APACHE-2.0 License

Stars
191
Committers
42

Bot releases are visible (Hide)

terraform-aws-dynamic-subnets - 0.18.0 - Added EIP for NAT instnaces

Published by goruha almost 5 years ago

what

  • Added EIP for NAT instances

why

  • Have stable IP addresses
terraform-aws-dynamic-subnets - 0.12.1 Added EIP for NAT instnaces

Published by goruha almost 5 years ago

what

  • Added EIP for NAT instances

why

  • Have stable IP addresses
terraform-aws-dynamic-subnets - 0.17.0 Remove quotes from references

Published by aknysh almost 5 years ago

what

  • Remove quotes from references

why

  • Terraform 0.12.14+ started warning about deprecated usage of quotes on references
terraform-aws-dynamic-subnets - 0.16.1 Remove unused "region" variable from docs

Published by aknysh almost 5 years ago

what

  • Remove usage of the region variable from documentation

why

  • Historically region may have been a variable that could be passed to the terraform-aws-dynamic-subnets module, but currently it no longer is
terraform-aws-dynamic-subnets - 0.16.0 Properly pin Terraform providers in the example

Published by aknysh over 5 years ago

what

  • Properly pin providers in the example

why

  • We don't use providers block to send providers to modules
  • Use required_providers in terraform block to pin provider versions

and

provider "aws" {
  region = var.region
}

in top-level modules/examples to specify the region

terraform-aws-dynamic-subnets - 0.15.0 Use `required_providers` to pin Terraform providers

Published by aknysh over 5 years ago

what

  • Use required_providers to pin Terraform providers

why

  • Pinning the module's providers version in required_providers block allows specifying only the required provider version for the module without the need to specify all providers with versions explicitly
terraform-aws-dynamic-subnets - 0.14.0 Add `bats` and `terratest` for the example

Published by aknysh over 5 years ago

what

  • Add bats and terratest for the example

why

  • Better regression control
  • Automatically test the example on every commit and pull request
  • Provision resources on AWS in the test account and check the outputs for the correct values
terraform-aws-dynamic-subnets - 0.13.1 Update Terraform outputs

Published by aknysh over 5 years ago

what

  • Update outputs

why

  • Resources with counts are already lists in TF 0.12. Don't wrap them in [] (this creates a list of lists)
terraform-aws-dynamic-subnets - 0.13.0 Port to TF 0.12. Update Codefresh badge

Published by aknysh over 5 years ago

what

  • Port (rewrite) module with 0.12 syntax
  • Update Codefresh badge to point to the test pipeline in terraform-modules project
  • Update examples
  • Update README
  • Update README examples

why

  • Module currently does not work with 0.12
  • Much easier syntax
  • terraform-modules project contains pipelines for all terraform modules
terraform-aws-dynamic-subnets -

Published by osterman over 5 years ago

terraform-aws-dynamic-subnets - 0.11.0 Update the label module to `0.11.1`. Use `context`

Published by aknysh over 5 years ago

what

  • Update the label module to 0.11.1
  • Use context

why

  • Allows for fewer repeated variables
  • Allows users of the label module to pass context into this module
terraform-aws-dynamic-subnets - 0.10.0 Add a variable for formatting the public/private subnet tags

Published by aknysh over 5 years ago

what

  • Add a variable for formatting the public/private subnet tags

why

  • Formatting the subnet tags allows for use in more scenarios, such as when deploying spinnaker.io
terraform-aws-dynamic-subnets - 0.9.0 Add `nat-instance`

Published by aknysh over 5 years ago

what

  • Add nat-instance
  • Correctly pin terraform required_version

why

  • Allow users to choose between NAT Gateways or NAT Instances to be deployed into the public subnets to allow the servers in the private subnets to access the Internet
  • In many cases, NAT Instances are cheaper than NAT Gateways, and for some use-cases (e.g. testing/demo infrastructure) are more appropriate to use (e.g. save on cost)
  • Pin terraform required_version to 0.11.x only (the module does not support TF 0.12

references

terraform-aws-dynamic-subnets -

Published by goruha over 5 years ago

terraform-aws-dynamic-subnets - 0.7.1: Include Availability Zone name in resources that are 1 per AZ

Published by Nuru over 5 years ago

Include Availability Zone name in resource names and tags that are 1 per AZ (#46)

terraform-aws-dynamic-subnets - 0.7.0: Include attributes in names

Published by Nuru over 5 years ago

Include attributes in names and tags (#45)

terraform-aws-dynamic-subnets - 0.6.0 Add functionality for a VPC to auto-assign public IPs for instances

Published by aknysh over 5 years ago

what

  • Add functionality for a VPC to auto-assign public IPs for instances

why

  • It is a built-in function that makes sense to include in the module. A public VPC should assign Public IPs
terraform-aws-dynamic-subnets - 0.5.0 Remove route from `aws_route_table` for public subnets

Published by aknysh over 5 years ago

what

  • Remove route from aws_route_table for public subnets
  • Add new resource aws_route

why

  • Conflicts with other route table edits
terraform-aws-dynamic-subnets - 0.4.0 Change private subnet names

Published by aknysh almost 6 years ago

what

  • In private.tf, changed private_subnet_label so that name = "subnet" is now name = "${var.name}"

why

  • Fix bug #39 to make the private and public subnet names consistent
terraform-aws-dynamic-subnets - 0.3.8 Update readme yaml file and rebuild md

Published by solairerove almost 6 years ago

what

  • updated README.yaml file
  • add tags and categories
  • rebuild README.md file

why

  • need to add categories and tags so we can pull them into the documentation
Related Projects