Error You must specify a region when running command aws ecs list-container-instances

后端 未结 5 794
时光说笑
时光说笑 2021-02-01 00:25

I am trying to use aws container service as per the documentation in http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_GetStarted.html

The below error is th

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-01 00:55

    #1- Run this to configure the region once and for all:

    aws configure set region us-east-1 --profile admin
    
    • Change admin next to the profile if it's different.

    • Change us-east-1 if your region is different.

    #2- Run your command again:

    aws ecs list-container-instances --cluster default
    

提交回复
热议问题