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 188 forks source link

Support for API keys #2

Closed mfulgo closed 2 years ago

mfulgo commented 3 years ago

It looks like there's no built-in way to generate the aws_apigatewayv2_route with api_key_required set to true.

I believe the work around would be to create the routes and integrations outside of the module, which reintroduces a bit of the boilerplate that using this module does away with.

antonbabenko commented 3 years ago

This module is in the early alpha version (v0.x.x), many things are missing and will be added when time allows it.

Meanwhile, your workaround sounds like a valid solution.

svenlito commented 2 years ago

Closing this issue as it's been added here

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.