Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Added the missing EcsServiceRole. #39

Closed
wants to merge 1 commit into from

Conversation

hengfengli
Copy link

Issue

When I am using the "service.yaml" to create EC2Service, the creation process fails at EC2Service with the following error:

Unable to assume the service linked role. Please verify that the ECS service linked role exists.

Solution

According to the following reference:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-role

It seems that we have to specify Role with LoadBalancers property.

Role
...
Required: Conditional. Required only if you specify the LoadBalancers property.
...

So I added the missing role EcsServiceRole to the template file. I have tested it and it works fine.

Cheers
Hengfeng

@hengfengli hengfengli closed this Jan 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant