AWS API Gateway – Resource Policy issue
I created two APIs, https://test.execute-api.us-east-1.amazonaws.com/api/dev
and https://test.execute-api.us-east-1.amazonaws.com/api/prod
, both have GET method enabled but when I attach a resource policy to allow access to the /prod api from a IP, it is denying access to /dev apis as well from all other IPs. I am not sure what I am doing wrong here. There is no type of authorization that I am using for these APIs.