Skip to content

Commit a185d23

Browse files
committed
Add ec2:CreateVpc to GithubRole
1 parent 5fbd71b commit a185d23

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

cloud-formation/github-role.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,19 @@ Resources:
105105
}
106106
]
107107
}
108+
- PolicyName: Ec2Policy
109+
PolicyDocument: {
110+
"Version": "2012-10-17",
111+
"Statement": [
112+
{
113+
"Effect": "Allow",
114+
"Action": [
115+
"ec2:CreateVpc"
116+
],
117+
"Resource": "*"
118+
}
119+
]
120+
}
108121

109122
GithubOidc:
110123
Type: AWS::IAM::OIDCProvider

0 commit comments

Comments
 (0)