Create route table entries associated with a Peering Connection.
Example:
module "pcx_route_cidr1 {
source = "git::https://github.com/rhythmictech/terraform-aws-pcx-route-cidr"
destination_cidr = "172.32.0.0/16"
pcx_id = module.pcx.pcx_id
route_tables = concat(module.vpc.public_route_table_ids, module.vpc.private_route_table_ids)
}
No requirements.
Name | Version |
---|---|
aws | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
destination_cidr | CIDR to add to route tables | string |
n/a | yes |
pcx_id | Peering Connection | string |
n/a | yes |
route_table_count | How many route tables are going to be created? | number |
null |
no |
route_tables | Route tables to install route in | list(string) |
n/a | yes |
No output.