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
151 stars 203 forks source link

Be able to create routes separately from integrations #90

Closed obi-juan1971 closed 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago

This issue was automatically closed because of stale in 10 days

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