@ -109,29 +109,6 @@
"arn:aws:ec2:{{aws_region}}:{{aws_account}}:*"
]
} ,
{
"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-*"
]
} ,
{ # A c c o r d i n g t o h t t p : / / d o c s . a w s . a m a z o n . c o m / e l a s t i c l o a d b a l a n c i n g / l a t e s t / u s e r g u i d e / l o a d - b a l a n c e r - a u t h e n t i c a t i o n - a c c e s s - c o n t r o l . h t m l # }
{ # R e s o u r c e l e v e l a c c e s s c o n t r o l i s n o t p o s s i b l e f o r t h e n e w E L B A P I ( p r o v i d i n g A p p l i c a t i o n L o a d B a l a n c e r f u n c t i o n a l i t y # }
{ # W h i l e i t r e m a i n s p o s s i b l e f o r t h e o l d A P I , t h e r e i s n o d i s t i n c t i o n o f t h e A c t i o n s b e t w e e n o l d A P I a n d n e w A P I # }
@ -238,29 +215,6 @@
"arn:aws:iam::{{aws_account}}:role/ecsServiceRole"
]
} ,
{
"Sid" : "AllowECSManagement" ,
"Effect" : "Allow" ,
"Action" : [
"application-autoscaling:Describe*" ,
"application-autoscaling:PutScalingPolicy" ,
"application-autoscaling:RegisterScalableTarget" ,
"cloudwatch:DescribeAlarms" ,
"cloudwatch:PutMetricAlarm" ,
"ecs:CreateCluster" ,
"ecs:CreateService" ,
"ecs:DeleteCluster" ,
"ecs:DeleteService" ,
"ecs:Describe*" ,
"ecs:DeregisterTaskDefinition" ,
"ecs:List*" ,
"ecs:RegisterTaskDefinition" ,
"ecs:UpdateService"
] ,
"Resource" : [
"*"
]
} ,
{
"Sid" : "AllowSESManagement" ,
"Effect" : "Allow" ,