I want specify on my api gateway created by serverless resource policy (to restrict access to api gateway by ip). But when i copy it just from example:
In block section “provider” this resource policy do not appear in api gateway in aws, after “serverless deploy” nor in .serverless/cloudformation-template-update-stack.json file.
Sure i tried before and not with example from documentation, in also serverless seems just ignore “resourcePolicy” section.
Version of serverless is 1.24.1. Why it can be so? Thank you.