Skip to content

Clarification on TaskDefinition Launch Type #2

@carpiediem

Description

@carpiediem

I'm getting an error on one of the last lines of your .circleci/config.yml file and I think it's because I set up my AWS infrastructure incorrectly. Here's the error that CircleCI is reporting for the aws ecs update-service command:
An error occurred (InvalidParameterException) when calling the UpdateService operation: Task definition does not support launch_type FARGATE.

I'm new to ECS and couldn't figure out the setup based on your bullet points alone. I followed CircleCI's suggestion of using terraform to create an AWS stack.

It looks like CircleCI's terrafrom configuration uses AWS Fargate, but your task definition is meant for EC2-type clusters. Is that correct?

Is there any guidance you can add (or a tutorial you can recommend) on how a cluster should be configured for use here? Thanks, in advance, for any pointers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions