When i run the below command on aws-cli its throws an error 'returning Unknown options : awsvpcConfiguration'
e.g
aws ecs run-task --cluster test-ecs-cluster --task-definition testtask --launch-type FARGATE --network-configuration awsvpcConfiguration={subnets=["subnet-1234","subnet-12345"],securityGroups=["test"],assignPublicIp="DISABLED"}
i got the below error:
Unknown options: awsvpcConfiguration=securityGroups=[test], awsvpcConfiguration=assignPublicIp=DISABLED, awsvpcConfiguration=subnet-1234]