Skip to content

Commit

Permalink
Add missing permissions for scheduler function
Browse files Browse the repository at this point in the history
  • Loading branch information
lohgannash committed Nov 9, 2021
1 parent 5283175 commit dbbf4ca
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 dbbf4ca

Please sign in to comment.