EventBridge Scheduler fails on ECS RunTask with Fargate launch type


When defining the Compute Options on a RunTask call with: Launch type - "FARGATE", Platform Version: "1.4.0" - it seems that only the Platform Version is passed onto the "requestParameters" thus triggering the following error message: "The platform version must be null when specifying an EC2 launch type."

Screenshot from Eventbridge Scheduler: Enter image description here

Screenshot from the output in CloudTrail: Enter image description here

I have successfully triggered and run this task from an EventBridge rule

1 Answer
Accepted Answer

I have verified this in my environment and detected the same error, and looking at the CloudTrail logs, it seems that the launchType is not reflected in the RequestParameters.

The part of the EventBridge Scheduler that is passed in JSON is the part that sets the TaskOverride parameter when I looked into it. I don't think there is anything we can do about it.

Give feedback to AWS support if possible.

profile picture
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions