You must use a valid fully-formed launch template. The t2.small instance type does not support an AMI with a UEFI boot mode. Only instance types built on the Nitro System support UEFI. Specify an instance type that supports UEFI.
This is so weird. Would ECS require UEFI?