Last active
December 18, 2023 08:55
-
-
Save mattgillard/4b50de92344c8a6e4dd28bc8791b41e5 to your computer and use it in GitHub Desktop.
Sample Cloudformation Execution Role
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:Create*", | |
"ec2:Describe*", | |
"ec2:Modify*", | |
"ec2:Delete*", | |
"ec2:Attach*", | |
"ec2:Detach*", | |
"ec2:Associate*", | |
"ec2:DisassociateRouteTable", | |
"ec2:CreateInternetGateway" | |
], | |
"Resource": "*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": "ec2:AssociateRouteTable", | |
"Resource": "arn:aws:ec2:ap-southeast-2:1234567890:route-table/*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:CreateSubnet", | |
"ec2:DeleteSubnet", | |
"ec2:ModifySubnetAttribute" | |
], | |
"Resource": "arn:aws:ec2:ap-southeast-2:1234567890:subnet/*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:CreateSubnet", | |
"ec2:CreateVpc" | |
], | |
"Resource": "arn:aws:ec2:ap-southeast-2:1234567890:vpc/*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment