-
Notifications
You must be signed in to change notification settings - Fork 25
Description
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.