Skip to content

Instantly share code, notes, and snippets.

@maoosi
Created September 11, 2019 00:48
Show Gist options
  • Save maoosi/be66cf8c6a2fa44e880aeb70944e3745 to your computer and use it in GitHub Desktop.
Save maoosi/be66cf8c6a2fa44e880aeb70944e3745 to your computer and use it in GitHub Desktop.
Buddy.works AWS IAM JSON Policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "BuddyPolicy",
"Effect": "Allow",
"Action": [
"s3:ListAllMyBuckets",
"s3:GetObject",
"s3:GetObjectAcl",
"s3:PutObject",
"s3:PutObjectAcl",
"s3:DeleteObject",
"s3:ListBucket",
"s3:CreateBucket",
"cloudfront:ListDistributions",
"cloudfront:CreateInvalidation",
"codedeploy:ListApplications",
"codedeploy:ListDeploymentGroups",
"codedeploy:ListDeploymentConfigs",
"codedeploy:CreateDeployment",
"codedeploy:GetDeployment",
"codedeploy:GetDeploymentConfig",
"codedeploy:GetApplicationRevision",
"codedeploy:RegisterApplicationRevision",
"ecr:CreateRepository",
"ecr:DescribeRepositories",
"ecr:GetAuthorizationToken",
"ecr:BatchCheckLayerAvailability",
"ecr:CompleteLayerUpload",
"ecr:InitiateLayerUpload",
"ecr:PutImage",
"ecr:UploadLayerPart",
"elasticbeanstalk:DescribeApplications",
"elasticbeanstalk:DescribeEnvironments",
"elasticbeanstalk:CreateApplicationVersion",
"elasticbeanstalk:DescribeApplicationVersions",
"elasticbeanstalk:UpdateApplication",
"elasticbeanstalk:UpdateEnvironment",
"elasticbeanstalk:UpdateApplicationVersion",
"cloudformation:GetTemplate",
"cloudformation:ListStackResources",
"elasticbeanstalk:DescribeApplications",
"elasticbeanstalk:DescribeEnvironments",
"elasticbeanstalk:DescribeEnvironmentHealth",
"lambda:ListFunctions",
"lambda:InvokeFunction",
"lambda:UpdateFunctionCode",
"ecs:ListClusters",
"ecs:ListServices",
"ecs:RegisterTaskDefinition",
"ecs:DescribeServices",
"ecs:UpdateService"
],
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment