Skip to content

service MythicalMysfits-Service failed to launch a task  #232

Open
@checker21

Description

@checker21

Modul2, Step 4c testing NLB DNS fails due to timeout.
I assigned the ARN from the REPLACE_ME_ECS_SERVICE_ROLE_ARN to the executionRoleArn.

I figured out that the taks was not running due to the following error message:
service MythicalMysfits-Service failed to launch a task with (error ECS was unable to assume the role 'arn:aws:iam::xxxxxxxx:role/MythicalMysfitsCoreStack-ECSTaskRole-yyyyyyyyyy' that was provided for this task. Please verify that the role being passed has the proper trust relationship and permissions and that your IAM user has permissions to pass this role.).

Creating a new TaskExecutionRole solved the problem with the task.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions