-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
Description:
If multiple VPCE's are specified in the SourceVpcWhitelist traffic from both VPCE's is denied.
Steps to reproduce the issue:
- Specify multiple VPCEs in the SourceVpcWhitelist and set the EndpointConfiguration to PRIVATE
Example
Resources:
ApiGateway:
Type: AWS::Serverless::Api
Properties:
StageName: Prod
EndpointConfiguration: PRIVATE
Auth:
ResourcePolicy:
SourceVpcWhitelist:
- vpce-1
- vpce-2- Send a request in which vpce-1 or vpce-2 is the sourceVpce and the response is an explict deny.
Observed result:
Traffic is not permitted when multiple vpce's are whitelisted. If only once vpce is white listed the issue does not occur.
Expected result:
Traffic is permitted from both whitelisted source vpce's and traffic is denied from a vpce not whitelisted.
duartemendes