module "vpc" {
source = "punkerside/vpc/aws"
version = "0.0.6"
name = "titan"
cidr_block_vpc = "10.0.0.0/16"
cidr_block_pri = ["10.0.0.0/19", "10.0.32.0/19", "10.0.64.0/19"]
cidr_block_pub = ["10.0.96.0/19", "10.0.128.0/19", "10.0.160.0/19"]
}
Name | Version |
---|---|
terraform | >= 1.0.0 |
aws | >= 5.0.0 |
random | >= 3.5.0 |
Name | Version |
---|---|
aws | >= 5.0.0 |
random | >= 3.5.0 |
No modules.
Name | Type |
---|---|
aws_eip.this | resource |
aws_internet_gateway.this | resource |
aws_nat_gateway.this | resource |
aws_route_table.private | resource |
aws_route_table.public | resource |
aws_route_table_association.private | resource |
aws_route_table_association.public | resource |
aws_subnet.private | resource |
aws_subnet.public | resource |
aws_vpc.this | resource |
random_string.this | resource |
aws_availability_zones.this | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
cidr_block_pri | Segmentos de redes privadas | list(string) |
[ |
no |
cidr_block_pub | Segmentos de redes publicas | list(string) |
[ |
no |
cidr_block_vpc | Bloque CIDR | string |
"10.0.0.0/16" |
no |
enable_dns_hostnames | Activar DNS Hostname | bool |
true |
no |
enable_dns_support | Soporte DNS | bool |
true |
no |
name | Nombre asignado a todos los recursos creados por esta plantilla | string |
null |
no |
Name | Description |
---|---|
subnet_private_ids | Subnet private ids |
subnet_public_ids | Subnet public ids |
vpc | VPC values |
- Inicializar automatizacion:
make init
- Establecer credenciales:
export AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
export AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- Ejecutar pruebas:
make test_awspec
make test_precommit
The module is maintained by Ivan Echegaray