terraform-aws-modules / terraform-aws-vpc

Terraform module to create AWS VPC resources πŸ‡ΊπŸ‡¦
https://registry.terraform.io/modules/terraform-aws-modules/vpc/aws
Apache License 2.0
2.97k stars 4.42k forks source link

Support for custom routes #1043

Closed fbozic closed 5 months ago

fbozic commented 7 months ago

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

Is your request related to a problem? Please describe.

It is difficult to manage additional/custom routes for the private route table(s), because number of tables depends on the VPC setup.

Describe the solution you'd like.

Either support for additional/custom routes (something like this PR) or expose the number of route tables as output (to avoid 'Terraform cannot predict how many instances will be created.' error).

Describe alternatives you've considered.

Pre-calculate the number of routes outside the VPC module and create routes outside the VPC module. But it is tedious to manually pre-calculate the number of route tables.

Additional context

github-actions[bot] commented 6 months ago

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

fbozic commented 6 months ago

Not stale

github-actions[bot] commented 5 months ago

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] commented 5 months ago

This issue was automatically closed because of stale in 10 days

fbozic commented 5 months ago

Not stale, reopen

github-actions[bot] commented 4 months ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.