Update documentation on ECS service action resize
jnancel opened this issue · comments
Describe the feature
Documentation for that resize action in ecs-service resource states that required permissions are ecs:UpdateService, ecs:TagResource, ecs:UntagResource
, however, even with those permissions, trying to offhours a service, I got this error :
errorMessage": "An error occurred (AccessDeniedException) when calling the RegisterScalableTarget operation: User: arn:aws:sts::123456789098:assumed-role/Custodian/custodian-ecs-business-hours-offhours is not authorized to perform: application-autoscaling:RegisterScalableTarget on resource: arn:aws:application-autoscaling:eu-west-1:123456789098:scalable-target/xxxyyyzzz because no identity-based policy allows the application-autoscaling:RegisterScalableTarget action",
Could you please update the documentation accordingly ?
Extra information or context
No response