Provide a Way to create a route without integrations
riosje opened this issue · 3 comments
Description
I'm trying to configure a CORS policy which need an OPTIONS method on the path, but this do not require any kind of integration in my case, by default this module and as far as I can understand de docs the routes are always created with an integration
I tried the following possible configs:
- configure the route within the integration var with the
integration_type = ""
but got the following exception:expected integration_type to be one of [AWS HTTP MOCK HTTP_PROXY AWS_PROXY], got
- I tried to send the
integration_type = "NONE"
but got this exception - I tried with the
integration_type = "MOCK"
. but this is only supported by WEBSOCKETS, so I got the same exception. - I tried creating it without the the var
integration_type
but it always try to create the integration and got the same exception.
Is there a way to create a route without any kind of integration?
- ✋ I have searched the open/closed issues and my issue is not listed.
Versions
-
Module version: 1.7.0
-
Terraform version: 1.0.9
-
Provider version(s): hashicorp/aws 3.63.0
Reproduction Code [Required]
Creating an integration with this setting.
integrations = {
"OPTIONS /api/{proxy+}" = {
integration_method = "OPTIONS"
payload_format_version = "1.0"
authorization = false
}
}
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
This issue was automatically closed because of stale in 10 days
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.