amazon-web-services - 在 CLI 创建安全组,得到 InvalidVpcID.NotFound The vpc ID does not exist
问题描述
试图发出:
$ aws ec2 create-security-group --group-name Grp1 --description Grp1 --vpc-id vpc-0e6f748e8c01534bc
但我明白了
An error occurred (InvalidVpcID.NotFound) when calling the CreateSecurityGroup operation:
The vpc ID 'vpc-0e6f748e8c01534bc' does not exist
该 vpc 确实存在,但未被识别。
它位于不同的区域。
我无法在命令中指定区域。
我该如何解决?
解决方案
推荐阅读
- tensorflow-serving - CPU AVX AVX2 的 TensorFlow Serving 编译失败
- python - 用字符串列表中的相应值替换字符串
- firebase - google 登录后无法获取 Google auth 标头(空值检查运算符用于空值)
- django - 如何用芹菜运行爬虫
- database - 如何使用部分值存储 TIMESTAMPTZ
- latex - 有什么方法可以自动将句点移动到引号内?(csquotes 似乎不起作用)
- python - 不同的 URL 格式使用 Python 的 requests.get 从相同的 API 返回不同的数据类型
- chrome-web-store - 查看发布到 Chrome 网上应用店的以前版本的扩展程序?
- python - 无法用python为这个程序编写脚本,有人可以推荐任何让它工作的东西吗
- twilio - Twilio SMS statusCallbackUrl 不允许使用 405 方法