Skip to content

Commit 9237832

Browse files
switch security groups
1 parent 098ed31 commit 9237832

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

notificationworkerlambda/harvester-cfn.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ Parameters:
3232
VpcSubnets:
3333
Description: Subnets to use in the VPC
3434
Type: List<AWS::EC2::Subnet::Id>
35-
VPCSecurityGroup:
36-
Type: AWS::EC2::SecurityGroup::Id
37-
Description: The default security group of the VPC
3835
AlarmTopic:
3936
Type: String
4037
Description: The ARN of the SNS topic to send all the cloudwatch alarms to
@@ -169,7 +166,7 @@ Resources:
169166
ReservedConcurrentExecutions: 200
170167
VpcConfig:
171168
SecurityGroupIds:
172-
- !Ref VPCSecurityGroup
169+
- !ImportValue NotificationsDefaultSecurityGroup-NotificationsMainSecurityGroup
173170
SubnetIds: !Ref VpcSubnets
174171
Tags:
175172
- Key: Stage

0 commit comments

Comments
 (0)