我想部署一個項目,我不斷收到以下錯誤:AWS CodeDeploy appspec解析問題:無效的版本值()
The deployment failed because an invalid version value() was entered in the application specification file. Make sure your AppSpec file specifies "0.0" as the version, and then try again.
該規範文件已經降到了最低限度(見)已經在Visual Studio中創建,正確命名(appspec.yml)並進行了格式化,據我所見,正在由Windows Server 2016上的最新版本的AWS CodeDeploy代理執行。我甚至嘗試使行結束unix風格,沒有喜悅。
我沒有看到任何有效的原因,爲什麼代理不應該正確地閱讀版本。
version: 0.0
os: windows
files:
- source: '\'
destination: 'c:\inetpub\wwwroot'