add_gateway |
Adding new Gateway endpoints |
list(string) |
[] |
no |
add_interface |
Adding new Interface endpoints |
list(string) |
[] |
no |
additional_subnet_group |
Subnet details having zone and cidr address |
map(object({ is_public = bool nat_gateway = bool details = list(object({ availability_zone = string cidr_address = string })) })) |
{} |
no |
cidr_block |
IPV4 range for VPC Creation |
string |
"10.20.0.0/20" |
no |
common_tags |
A map to add common tags to all the resources |
map(string) |
{} |
no |
create_peering_routes |
True/False value need to create Peering Route or not, Default to false |
bool |
false |
no |
create_vpc_endpoint |
Create all VPC Endpoint |
bool |
false |
no |
default_tags |
A map to add common tags to all the resources |
map(string) |
{ "CreatedBy": "Terraform", "Scope": "VPC" } |
no |
enable_dns_hostnames |
A boolean flag to enable/disable DNS hostnames in the VPC |
bool |
true |
no |
enable_dns_support |
A boolean flag to enable/disable DNS support in the VPC |
bool |
true |
no |
enable_flow_log |
Whether or not to enable VPC Flow Logs |
bool |
false |
no |
flow_log_cloudwatch_log_group_retention_in_days |
Specifies the number of days you want to retain log events in the specified log group for VPC flow logs. |
number |
7 |
no |
flow_log_destination_type |
Type of flow log destination. Can be s3 or cloud-watch-logs. |
string |
"cloud-watch-logs" |
no |
flow_log_log_format |
The fields to include in the flow log record, in the order in which they should appear. |
string |
null |
no |
flow_log_max_aggregation_interval |
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. Valid Values: 60 seconds or 600 seconds. |
number |
600 |
no |
flow_log_traffic_type |
The type of traffic to capture. Valid values: ACCEPT, REJECT, ALL. |
string |
"ALL" |
no |
max_subnet_az |
Maximum number of Subnets per Availability Zone |
number |
2 |
no |
name |
A string value to describe prefix of all the resources |
string |
"" |
no |
routes |
Route details having destination and target address |
map(object({ peering = map(string) })) |
{} |
no |
secondary_cidr_blocks |
List of secondary CIDR blocks to associate with the VPC to extend the IP Address pool |
list(string) |
[] |
no |
subnet |
Subnet details having zone and cidr address |
map(object({ is_public = bool nat_gateway = bool details = list(object({ availability_zone = string cidr_address = string })) })) |
{} |
no |
subnet_bits |
Number Bits required for creating Subnets |
number |
8 |
no |
subnet_group |
Subnets group divided into public, private and database |
map(object({ is_public = bool nat_gateway = bool })) |
{ "database": { "is_public": false, "nat_gateway": false }, "private": { "is_public": false, "nat_gateway": true }, "public": { "is_public": true, "nat_gateway": false } } |
no |