Give ec2 network permissions

This commit is contained in:
Layla 2020-05-14 05:25:59 -04:00
parent 8df28d413d
commit 5c491f97a2
No known key found for this signature in database
GPG Key ID: A494D9357BA1BE31

View File

@ -33,6 +33,19 @@ Resources:
- logs:CreateLogStream
- logs:PutLogEvents
Resource: "*"
- PolicyName: AttachToVpc
PolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Action:
- ec2:CreateNetworkInterface
- ec2:DescribeNetworkInterfaces
- ec2:DeleteNetworkInterface
- ec2:DescribeSecurityGroups
- ec2:DescribeSubnets
- ec2:DescribeVpcs
Resource: "*"
Outputs:
DefaultRole: