I am following the official AWS tutorial to create an ECS cluster with service connect and the docs say to create a cluster using aws ecs create-cluster --cluster-name tutorial --service-connect-defaults namespace=service-connect
but i keep running into Unknown options: --service-connect-defaults, namespace=service-connect
. I checked the AWS CLI docs and clearly see these options available there as well link.
My environment is aws-cli/2.7.27 Python/3.9.11 Windows/10 exe/AMD64 prompt/off
.
What am i doing wrong? Thank you.
ECS Service Connect is a fairly new feature. You are currently using the AWS CLI version 2.7.27
. The latest version as of today is 2.11.15
. You need to upgrade to a newer version.