Skip to content

Copy across runtime-platform for ECS task definitions

ECS tasks can have a runtime-platform property to allow using ARM64 processors (see https://docs.aws.amazon.com/cli/latest/reference/ecs/register-task-definition.html).

Currently this property is ignored when copying across task definitions, which can cause tasks that only work on ARM processors to break.

Instead, we should copy across the property as we do for the other properties.

I've tested this change for tasks with and without non-default runtime-platform settings.

Merge request reports