gpt4 book ai didi

amazon-web-services - YAML_FILE_ERROR : YAML file does not exist

转载 作者:行者123 更新时间:2023-12-04 08:06:16 25 4
gpt4 key购买 nike

我正致力于在 AWS 上实现管道,但出现错误 YAML_FILE_ERROR: YAML file does not exist ,不知道为什么。我正在使用 github repo 进行平均堆栈项目,入口文件是 docker-compose. Yml .
谢谢

最佳答案

AWS CodeBuild 预计 buildspec.yml文件位于顶层。人们常犯的一个错误是压缩代码文件夹,其中确实包含 buildspec.yml在顶层,但是当解压此 zip 文件时,它会创建代码文件夹并放置 buildspec.yml在里面(它在本地的方式),意思是 buildspec.yml现在不在顶级。

解决方案是:不要压缩代码文件夹,而是进入代码文件夹,选择所有文件,然后进行压缩。

亚马逊是这么说的here :

Important

Do not include the (root directory name) directory, only the directories and files in the (root directory name) directory.



这是一件让很多人(包括我)绊倒的古怪小事。

关于amazon-web-services - YAML_FILE_ERROR : YAML file does not exist,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56038714/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com