AWS CloudFormation을 사용하여 Amazon Elastic Container Service(Amazon ECS) 리소스(AWS::ECS::Service)를 시작하는 경우 오류 메시지가 나타납니다.
간략한 설명
Classic Load Balancer를 사용하고 있는 경우, 다음과 비슷한 오류 메시지가 나타납니다.
"12:21:48 UTC+0100 CREATE_FAILED AWS::ECS::Service ECSService Unable to assume role and validate the listeners configured on your load balancer. Please verify the role being passed has the proper permissions."
Application Load Balancer를 사용하고 있는 경우, 다음과 비슷한 오류 메시지가 나타납니다.
"12:21:48 UTC+0100 CREATE_FAILED AWS::ECS::Service ECSService Unable to assume role and validate the specified targetGroupArn. Please verify that the ECS service role being passed has the proper permissions."
인스턴스 프로파일을 지정하는 독립적인 AWS Identity and Access Management(IAM) 정책 리소스를 사용하여 Amazon ECS 서비스를 생성하는 경우 Amazon ECS 서비스에 실패하고 오류 메시지가 반환됩니다.
해결 방법
Classic Load Balancer 및 Application Load Balancer 모두에서 오류를 해결하려면 다음 솔루션 중 하나 이상을 시도합니다.
</ul