amazon web services - AWS CodeDeploy appspec parse issue: invalid version value () -


i trying deploy project, , keep getting following error:

the deployment failed because invalid version value () entered in application specification file. make sure appspec file specifies "0.0" version, , try again.

the spec file down bare minimum (see below), has been created in visual studio, named (appspec.yml) , formatted, far can see, , being executed latest version of aws codedeploy agent on windows server 2016. i've tried making line endings unix-style, no joy.

i not see valid reason why agent should not reading version correctly.

version: 0.0 os: windows files:   - source: '\'     destination: 'c:\inetpub\wwwroot' 

the problem turned out visual studio saves files default utf-8 byte order mark (visual studio refers "signature") @ beginning.

the codedeploy agent choking on bom. when saved file straight utf-8, deployment processed expected.

it appears regression, , i've reported such, it's worth documenting issue , workaround until fixed (or in case shows again in future!)


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -