반응형
1. Error
[root@ip-172-20-0-181 .aws]# aws ecs update-service --cluster hlpark-ecs-test --service hlpark-ecs-test-svc --enable-execute-command --profile hlpark-ecr-user
An error occurred (AccessDeniedException) when calling the UpdateService operation: User: arn:aws:iam::859234351948:user/hlpark-ecr-user is not authorized to perform: ecs:UpdateService on resource: arn:aws:ecs:ap-northeast-2:859234351948:service/hlpark-ecs-test/hlpark-ecs-test-svc because no identity-based policy allows the ecs:UpdateService action
2. 해결 방법
- IAM 권한 추가
반응형
'오류 해결 > AWS 오류 해결' 카테고리의 다른 글
[오류 해결] CloudWatch metrics query failed: RequestError: send request failed caused by (0) | 2025.01.22 |
---|---|
[오류 해결] Couldn't get current server API group list (0) | 2025.01.15 |
[오류 해결] TargetNotConnectedException - ECS (0) | 2025.01.13 |