vpc-network
devops4me/vpc-network/aws
Intelligently creates a redundant VPC network across availability zones with subnets gateways and routes to house any service eco-system.
Create VPC and Subnets in Availability Zones This module's default behaviour is to create a VPC and then create one private and one public subnet per availability zone in the VPC's region. In Frankfurt 6 subnets would be created as there are 3 availability zones. Module Usage module vpc-network { source = "devops4me/vpc-network/aws" version ~> "1.0.3" in_vpc_cidr = "10.245.0.0/16" in_num_private_subnets = 6 in_num_public_subnets = 3 } The most common use case is to specify the VPC Cidr, the number of public and private subnets. --- Run the Example You can run the example to see this module create a number of VPCs with varying attributes such as the number of private/public subnets. Module Inputs | Input Variable | Type | Description | Default | |:-------------------------- |:-------:|:----
| Name | Type | Description | Default |
|---|---|---|---|
| in_subnets_max | number | Two to the power of in_subnets_max is the maximum number of subnets carvable fro | 4 |
| in_create_public_gateway | bool | An internet gateway and route is created unless this variable is supplied as fal | true |
| in_create_private_gateway | bool | If private subnets exist an EIP, a NAT gateway, route and subnet association are | true |
| in_timestamp | string | A timestamp for resource tags in the format ymmdd-hhmm like 80911-1435 | "timestamp" |
| in_num_private_subnets | number | The number of private subnets to create (defaults to 3 if not specified). | 3 |
| in_num_public_subnets | number | The number of public subnets to create (defaults to 3 if not specified). | 3 |
| in_ecosystem | string | Creational stamp binding all infrastructure components created on behalf of this | "vpc-network" |
| in_description | string | Ubiquitous note detailing who, when, where and why for every infrastructure comp | "This VPC network was created for an eco |
| in_vpc_cidr | string | The CIDr block defining the range of IP addresses allocated to this VPC. | "10.42.0.0/16" |
out_public_subnet_ids — The public subnet IDS in every availability zone of this VPC.out_outgoing_routes — Aids creation of explicit dependency for instances brought up in private subnets.out_vpc_id — This (string) vpc_id is the ID of the VPC that has just been created.out_subnet_ids — Every subnet ID in every availability zone of this VPC.out_private_subnet_ids — The private subnet IDS in every availability zone of this VPC.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,