mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.1 KiB
JSON
76 lines
2.1 KiB
JSON
7 years ago
|
{
|
||
|
"Version": "2012-10-17",
|
||
|
"Statement": [
|
||
|
{
|
||
|
"Sid": "UnspecifiedCodeRepositories",
|
||
|
"Effect": "Allow",
|
||
|
"Action": [
|
||
|
"ecr:DescribeRepositories",
|
||
|
"ecr:CreateRepository"
|
||
|
],
|
||
|
"Resource": "*"
|
||
|
},
|
||
|
{
|
||
|
"Sid": "SpecifiedCodeRepositories",
|
||
|
"Effect": "Allow",
|
||
|
"Action": [
|
||
|
"ecr:GetRepositoryPolicy",
|
||
|
"ecr:SetRepositoryPolicy",
|
||
|
"ecr:DeleteRepository",
|
||
|
"ecr:DeleteRepositoryPolicy",
|
||
|
"ecr:DeleteRepositoryPolicy"
|
||
|
],
|
||
|
"Resource": [
|
||
|
"arn:aws:ecr:{{aws_region}}:{{aws_account}}:repository/ansible-*"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"Effect": "Allow",
|
||
|
"Action": [
|
||
|
"application-autoscaling:Describe*",
|
||
|
"application-autoscaling:PutScalingPolicy",
|
||
|
"application-autoscaling:RegisterScalableTarget",
|
||
|
"cloudwatch:DescribeAlarms",
|
||
|
"cloudwatch:PutMetricAlarm",
|
||
|
"ecs:CreateCluster",
|
||
|
"ecs:CreateService",
|
||
7 years ago
|
"ecs:DeleteCluster",
|
||
|
"ecs:DeleteService",
|
||
|
"ecs:DeregisterTaskDefinition",
|
||
|
"ecs:Describe*",
|
||
|
"ecs:List*",
|
||
|
"ecs:RegisterTaskDefinition",
|
||
|
"ecs:RunTask",
|
||
7 years ago
|
"ecs:UpdateService",
|
||
|
"elasticloadbalancing:Describe*",
|
||
|
"iam:AttachRolePolicy",
|
||
|
"iam:CreateRole",
|
||
|
"iam:GetPolicy",
|
||
|
"iam:GetPolicyVersion",
|
||
|
"iam:GetRole",
|
||
|
"iam:ListAttachedRolePolicies",
|
||
|
"iam:ListGroups",
|
||
7 years ago
|
"iam:ListRoles",
|
||
7 years ago
|
"iam:ListUsers"
|
||
|
],
|
||
|
"Resource": [
|
||
|
"*"
|
||
|
]
|
||
7 years ago
|
},
|
||
|
{
|
||
|
"Effect": "Allow",
|
||
|
"Action": [
|
||
|
"eks:CreateCluster",
|
||
|
"eks:DeleteCluster",
|
||
|
"eks:DescribeCluster",
|
||
|
"eks:ListClusters"
|
||
|
],
|
||
|
"Resource": [
|
||
|
"*"
|
||
|
]
|
||
7 years ago
|
}
|
||
7 years ago
|
|
||
|
|
||
7 years ago
|
]
|
||
|
}
|