[Bug]: aws_apigatewayv2_route
APIGW Websocket Authorizer should not attach to another route than connect
#40833
Labels
bug
Addresses a defect in current functionality.
needs-triage
Waiting for first response or review from a maintainer.
service/apigatewayv2
Issues and PRs that pertain to the apigatewayv2 service.
service/iam
Issues and PRs that pertain to the iam service.
service/lambda
Issues and PRs that pertain to the lambda service.
Terraform Core Version
1.10.1
AWS Provider Version
5.82.2
Affected Resource(s)
aws_apigatewayv2_route
Expected Behavior
The resource should trigger a warning/error because in the console you can only attach an authorizer on the connect route
Actual Behavior
when
terraform plan
with an authorizer to a route other than connect, terraform is trying to create an authorizer to this route. The bug does not make the apply crash but this should raise a warning or an errorRelevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: