Jakub Sokołowski
229bbe6816
Signed-off-by: Jakub Sokołowski <jakub@status.im> |
||
---|---|---|
README.md | ||
main.tf | ||
outputs.tf | ||
variables.tf | ||
versions.tf |
README.md
Description
This defines a Terraform module that configures an AWS VPC.
Usage
module "my_network" {
source = "github.com/status-im/infra-tf-aws-vpc"
name = "myfleet"
stage = "prod"
/* Firewall */
open_udp_ports = [ "53", "1234" ]
open_tcp_ports = [ "22", "80", "443" ]
}
Variables
Here are the variables available in the module:
- General
name
- Name to use for VPC elementsstage
- Stage to use for VPC elements
- Plumbing
zones
- Listo of Availability Zones for VPCs and Subnets (Default:["eu-central-1a", ...]
)vpc_cidr_block
- Classless Inter-Domain Routing address space. (Default:172.20.0.0/16
)subnet_cidr_blocks
- List of subnets of the VPC CIDR block address space. (Default:["172.20.1.0/24", ...]
)
- Firewall
open_tcp_ports
- List of TCP port ranges to open.open_udp_ports
- List of UDP port ranges to open.
Outputs
vpc
- The VPC resorucesubnets
- List of Subnet resourcessecgroup
- The Security Group resource