aws_apigatewayv2_authorizer is not sending required parameters for REQUEST authorizer #15181
Labels
documentation
Introduces or discusses updates to documentation.
enhancement
Requests to existing resources that expand the functionality or scope.
service/apigatewayv2
Issues and PRs that pertain to the apigatewayv2 service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
0.13.2
Affected Resource(s)
Terraform Configuration Files
Debug Output
aws_apigatewayv2_authorizer.example: Creating...
Error: error creating API Gateway v2 authorizer: BadRequestException: AuthorizerPayloadFormatVersion is a required parameter for REQUEST authorizer
Panic Output
Expected Behavior
There is no option to pass in
authorizer-payload-format-version
andenable-simple-responses
which are required by the amazon CLI to set up a REQUEST authorizer type.The documentation example is also incorrect - when passing in the identity source, something like
"$request.header.Auth"
should be passed in instead of the documented"route.request.header.Auth"
example.Actual Behavior
API Gateway error of
BadRequestException: AuthorizerPayloadFormatVersion is a required parameter for REQUEST authorizer
was returned.Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: