Region does not seem to be available for aws module boto

解决方案

允许使用端点启发式来猜测非内置区域的端点。
因此,我们可以使用以下方法之一来解决此问题。

1 指定 BOTO_USE_ENDPOINT_HEURISTICS 作为环境变量:

export BOTO_USE_ENDPOINT_HEURISTICS=True

2 创建~/.boto如下:

$vi ~/.boto
[Boto]
use_endpoint_heuristics = True

问题

Region does not seem to be available for aws module boto
区域似乎不适用于 aws 模块 boto。

如果该区域确实存在,则可能需要升级 boto 或者使用 endpoints path 扩展。

日期:2020-06-02 22:17:13 来源:oir作者:oir