Skip to content

Commit

Permalink
Merge pull request #9 from lohgannash/fix/schedule-lambda-permissions
Browse files Browse the repository at this point in the history
Add missing permissions for scheduler function
  • Loading branch information
Guslington authored Nov 10, 2021
2 parents 5283175 + dbbf4ca commit 8a603ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/cfnvpn/templates/vpn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,10 @@ def scheduler(name, start, stop, bucket)
'ec2:DescribeClientVpnAuthorizationRules',
'ec2:DescribeClientVpnEndpoints',
'ec2:DescribeClientVpnConnections',
'ec2:TerminateClientVpnConnections'
'ec2:TerminateClientVpnConnections',
'ec2:DescribeClientVpnRoutes',
'ec2:CreateClientVpnRoute',
'ec2:DeleteClientVpnRoute'
],
Resource: '*'
}]
Expand Down

0 comments on commit 8a603ed

Please sign in to comment.