Open ibbyu opened 6 months ago
@ibbyu Thanks for bringing this issue to our attention. I've reproduced this on my end - there seems to be an issue with the way we are parsing the yaml formatted template file. We are currently investigating a fix for this.
In the meantime as a workaround, try converting the serverless.template
file from yaml to json. Using the example you provided, I've confirmed that a json serverless.template
file deploys successfully.
Describe the bug
To Reproduce Steps to reproduce the behaviour example:
DomainMap
usingFindInMap
. (This gets highlighted as an error0: Unresolved tag: !FindInMap
). Example:Expected behavior Should deploy successfully. This exact same template works when using
sam build
&sam deploy
Screenshots Error when using VS GUI:
Successful deployment after using
sam build
&sam deploy
Toolkit LogsDevelopment System (please complete the following information):
Additional context This exact same template works when using
sam build
&sam deploy
(Update the Handler to match your project)