terraform-aws-modules / terraform-aws-apigateway-v2

Terraform module to create AWS API Gateway v2 (HTTP/WebSocket) 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/apigateway-v2/aws
Apache License 2.0
144 stars 187 forks source link

Be able to create routes separately from integrations #90

Closed obi-juan1971 closed 10 months ago

obi-juan1971 commented 1 year ago

Is your request related to a problem? Please describe.

With this code, when you create an integration, only one route is created.

Describe the solution you'd like.

It would be very usefull to be able to define routes separately so you may re-use the same integration when needed, for instance: with a VPC Load Balancer integration.

Describe alternatives you've considered.

A solutions may be similar to the one you use in terraform-aws-modules/alb/aws to create different rules for one listener.

Additional context

github-actions[bot] commented 11 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

klubi commented 11 months ago

Would be great to have this done. I have 20+ routes that could easily reuse single integration... instead I have 20+ of both...

github-actions[bot] commented 10 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 10 months ago

This issue was automatically closed because of stale in 10 days

github-actions[bot] commented 9 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.