serverless-associate-waf
serverless-associate-waf copied to clipboard
Does this work with HTTP APIs in addition to REST APIs?
The API Gateway supports a newer HTTP API (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html). When I try to use this plugin I get:
The CloudFormation template is invalid: Unresolved resource dependencies [ApiGatewayRestApi] in the Outputs block of the template
Could it be that this plugin only works with the older style and thus constructs the wrong API Gateway name?
I also am running into this problem. Is there an answer?
https://www.serverless.com/framework/docs/providers/aws/events/http-api
The answer is that HTTP API does not support WAF.
https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html