【发布时间】:2021-05-24 09:39:11
【问题描述】:
我在教程中使用了以下圆形 ci 模板。
jobs:
create_infrastructure:
docker:
- image: amazon/aws-cli
steps:
- checkout
- run:
name: Ensure backend infrastructure exist
command: |
aws cloudformation deploy \
--template-file template.yml \
--stack-name my-stack
workflows:
my_workflow:
jobs:
- create_infrastructure
但是当我在循环 ci 中执行时,我得到了
You must specify a region. You can also configure your region by running "aws configure".
Exited with code exit status 253
【问题讨论】:
-
这能回答你的问题吗? Error You must specify a region when running command aws ecs list-container-instances。您需要将区域名称作为环境变量或标志传递,如链接中所示
-
这些配置好像不行
标签: amazon-web-services amazon-cloudformation circleci