Skip to content

Instantly share code, notes, and snippets.

@OfirBalassiano
Created November 23, 2022 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OfirBalassiano/183b7538d34c9fcdfcaf19e361164ef7 to your computer and use it in GitHub Desktop.
Save OfirBalassiano/183b7538d34c9fcdfcaf19e361164ef7 to your computer and use it in GitHub Desktop.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "redshift-create-cluster",
"Effect": "Allow",
"Action": [
"redshift:CreateCluster"
],
"Resource": "*"
},
{
"Sid": "passrole",
"Effect": "Allow",
"Action": [
"iam:PassRole"
],
"Resource": "*"
},
{
"Sid": "describe-ec2",
"Effect": "Allow",
"Action": [
"ec2:DescribeAccountAttributes",
"ec2:DescribeAddresses",
"ec2:DescribeAvailabilityZones",
"ec2:DescribeSecurityGroups",
"ec2:DescribeSubnets",
"ec2:DescribeVpcs",
"ec2:DescribeInternetGateways"
],
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment