本文介绍了错误运行命令aws ecs list-container-instances时必须指定区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试根据
运行命令时抛出以下错误:
The below error is thrown when running the command:
aws ecs list-container-instances --cluster default
You must specify a region. You can also configure your region by running "aws configure".
文档未提及有关指定默认区域的任何内容。
The documentation does not mention anything about specifying a default region. How do we do it in a console?
推荐答案
我认为您需要使用例如:
I think you need to use for example:
aws ecs list-container-instances --cluster default --region us-east-1
这当然取决于您所在的地区。
This depends of your region of course.
这篇关于错误运行命令aws ecs list-container-instances时必须指定区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!