From d510135be26fae5f02c785d6f037fb8586f0b5dc Mon Sep 17 00:00:00 2001 From: Jon-AtAWS Date: Wed, 20 Nov 2019 09:32:41 -0800 Subject: [PATCH] Fix CFN - VPCE needs to be Interface for SQS --- serverless-monitoring.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/serverless-monitoring.yaml b/serverless-monitoring.yaml index 804b56823..7e53789d6 100644 --- a/serverless-monitoring.yaml +++ b/serverless-monitoring.yaml @@ -3147,9 +3147,13 @@ Resources: - 'sqs:*' Resource: - !Ref LoggingQueue - RouteTableIds: - - !Ref bookstoreVPCRouteTable + SecurityGroupIds: + - Fn::GetAtt: [bookstoreVPC, DefaultSecurityGroup] ServiceName: !Join [ "" , [ "com.amazonaws.", !Ref "AWS::Region", ".sqs"]] + SubnetIds: + - !Ref bookstoreSubnet1 + - !Ref bookstoreSubnet2 + VpcEndpointType: Interface VpcId: !Ref bookstoreVPC # ---------- CLEANUP STACK ---------