Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "Version": "2012-10-17",
- "Statement": [
- {
- "Effect": "Allow",
- "Action": [
- "s3:GetObject"
- ],
- "Resource": [
- "arn:aws:s3:::account-info-*/vpcadmin/sas-writer-key",
- "arn:aws:s3:::fs-paas-infrastructure-private/sps/provisioning-services.yml"
- ]
- },
- {
- "Effect": "Allow",
- "Action": [
- "s3:CreateBucket"
- ],
- "Resource": [
- "arn:aws:s3:::ps-artifacts-*"
- ]
- },
- {
- "Effect": "Allow",
- "Action": [
- "s3:DeleteObject",
- "s3:GetObject",
- "s3:PutObject"
- ],
- "Resource": [
- "arn:aws:s3:::ps-artifacts-*/*/*/versions/*/deployartifact.zip"
- ]
- },
- {
- "Effect": "Allow",
- "Action": [
- "s3:*"
- ],
- "Resource": [
- "arn:aws:s3:::elasticbeanstalk-*"
- ]
- },
- {
- "Effect": "Allow",
- "Action": [
- "s3:ListAllMyBuckets",
- "s3:ListBucket",
- "s3:GetBucketLocation"
- ],
- "Resource": [
- "arn:aws:s3:::*"
- ]
- },
- {
- "Effect": "Allow",
- "Action": [
- "elasticbeanstalk:AbortEnvironmentUpdate",
- "elasticbeanstalk:CheckDNSAvailability",
- "elasticbeanstalk:CreateApplication",
- "elasticbeanstalk:CreateApplicationVersion",
- "elasticbeanstalk:CreateConfigurationTemplate",
- "elasticbeanstalk:CreateEnvironment",
- "elasticbeanstalk:CreateStorageLocation",
- "elasticbeanstalk:DeleteApplication",
- "elasticbeanstalk:DeleteApplicationVersion",
- "elasticbeanstalk:DeleteConfigurationTemplate",
- "elasticbeanstalk:DeleteEnvironmentConfiguration",
- "elasticbeanstalk:DescribeApplicationVersions",
- "elasticbeanstalk:Describe*",
- "elasticbeanstalk:ListAvailableSolutionStacks",
- "elasticbeanstalk:RebuildEnvironment",
- "elasticbeanstalk:RequestEnvironmentInfo",
- "elasticbeanstalk:RestartAppServer",
- "elasticbeanstalk:RetrieveEnvironmentInfo",
- "elasticbeanstalk:TerminateEnvironment",
- "elasticbeanstalk:UpdateApplication",
- "elasticbeanstalk:UpdateApplicationVersion",
- "elasticbeanstalk:UpdateConfigurationTemplate",
- "elasticbeanstalk:UpdateEnvironment",
- "elasticbeanstalk:ValidateConfigurationSettings"
- ],
- "Resource": [
- "*"
- ]
- },
- {
- "Effect": "Allow",
- "Action": [
- "cloudformation:CancelUpdateStack",
- "cloudformation:CreateStack",
- "cloudformation:DeleteStack",
- "cloudformation:Describe*",
- "cloudformation:GetTemplate",
- "cloudformation:ListStacks",
- "cloudformation:ListStackResources",
- "cloudformation:UpdateStack",
- "cloudformation:ValidateTemplate"
- ],
- "Resource": "*"
- },
- {
- "Effect": "Allow",
- "Action": [
- "iam:AddRoleToInstanceProfile",
- "iam:AttachRolePolicy",
- "iam:CreateInstanceProfile",
- "iam:CreatePolicy",
- "iam:CreateRole",
- "iam:DeleteInstanceProfile",
- "iam:DeletePolicy",
- "iam:DeleteRolePolicy",
- "iam:DetachRolePolicy",
- "iam:ListRolePolicies",
- "iam:ListRoles",
- "iam:PassRole",
- "iam:PutRolePolicy"
- ],
- "Resource": "*"
- },
- {
- "Effect": "Allow",
- "Action": [
- "ec2:AuthorizeSecurityGroupEgress",
- "ec2:AuthorizeSecurityGroupIngress",
- "ec2:CreateRoute",
- "ec2:CreateRouteTable",
- "ec2:CreateSecurityGroup",
- "ec2:CreateSnapshot",
- "ec2:CreateTags",
- "ec2:DeleteRoute",
- "ec2:DeleteRouteTable",
- "ec2:DeleteSecurityGroup",
- "ec2:DeleteTags",
- "ec2:Describe*",
- "ec2:ReplaceRoute",
- "ec2:ReplaceRouteTableAssociation",
- "ec2:RevokeSecurityGroupEgress",
- "ec2:RevokeSecurityGroupIngress",
- "ec2:RunInstances",
- "ec2:StartInstances",
- "ec2:StopInstances",
- "ec2:TerminateInstances"
- ],
- "Resource": "*"
- },
- {
- "Effect": "Allow",
- "Action": [
- "autoscaling:*"
- ],
- "Resource": "*"
- },
- {
- "Effect": "Allow",
- "Action": [
- "cloudwatch:*"
- ],
- "Resource": "*"
- },
- {
- "Effect": "Allow",
- "Action": [
- "elasticloadbalancing:Describe*"
- ],
- "Resource": "*"
- },
- {
- "Effect": "Allow",
- "Action": [
- "elasticloadbalancing:*"
- ],
- "Resource": "arn:aws:elasticloadbalancing:*:*:loadbalancer/awseb-*"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement