Created
June 9, 2021 20:23
-
-
Save mapsi/5f01e4b67a6692e99b3c57d16cea4211 to your computer and use it in GitHub Desktop.
Buddy works permissions for Elastic Beanstalk
This file contains 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": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"elasticloadbalancing:RegisterTargets", | |
"elasticloadbalancing:DescribeTargetGroups", | |
"logs:CreateLogGroup", | |
"autoscaling:ResumeProcesses", | |
"autoscaling:DescribeScalingActivities", | |
"autoscaling:SuspendProcesses", | |
"ec2:DescribeInstances", | |
"autoscaling:DescribeLaunchConfigurations", | |
"elasticloadbalancing:DescribeLoadBalancers", | |
"cloudformation:CancelUpdateStack", | |
"cloudformation:DescribeStackEvents", | |
"cloudformation:DescribeStacks", | |
"cloudformation:UpdateStack", | |
"autoscaling:DescribeAutoScalingGroups", | |
"logs:PutRetentionPolicy", | |
"cloudformation:DescribeStackResource", | |
"cloudformation:DescribeStackResources", | |
"codedeploy:CreateDeployment", | |
"codedeploy:GetApplicationRevision", | |
"codedeploy:GetDeploymentConfig", | |
"elasticbeanstalk:CreateApplicationVersion", | |
"ecr:UploadLayerPart", | |
"cloudfront:CreateInvalidation", | |
"codedeploy:ListApplications", | |
"ecs:ListServices", | |
"ecs:UpdateService", | |
"iam:PassRole", | |
"elasticbeanstalk:UpdateApplicationVersion", | |
"elasticbeanstalk:DescribeEnvironments", | |
"ecs:RegisterTaskDefinition", | |
"elasticbeanstalk:DescribeApplicationVersions", | |
"elasticbeanstalk:DescribeEnvironmentHealth", | |
"ecr:CompleteLayerUpload", | |
"elasticbeanstalk:DescribeApplications", | |
"ecs:DescribeServices", | |
"ecr:DescribeRepositories", | |
"codedeploy:ListDeploymentConfigs", | |
"ecr:BatchCheckLayerAvailability", | |
"ecs:ListClusters", | |
"cloudformation:ListStackResources", | |
"lambda:ListFunctions", | |
"s3:*", | |
"codedeploy:RegisterApplicationRevision", | |
"lambda:InvokeFunction", | |
"ecr:CreateRepository", | |
"ecr:GetAuthorizationToken", | |
"elasticbeanstalk:DeleteApplicationVersion", | |
"ec2:DescribeSecurityGroups", | |
"ecr:PutImage", | |
"ec2:DescribeImages", | |
"elasticbeanstalk:UpdateApplication", | |
"lambda:UpdateFunctionCode", | |
"ec2:DescribeVpcs", | |
"cloudformation:GetTemplate", | |
"codedeploy:ListDeploymentGroups", | |
"codedeploy:GetDeployment", | |
"cloudfront:ListDistributions", | |
"elasticbeanstalk:UpdateEnvironment", | |
"eks:DescribeCluster", | |
"eks:ListClusters", | |
"ec2:DescribeSubnets", | |
"ecr:InitiateLayerUpload" | |
], | |
"Resource": "*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment