Been using UNIX since the late 80s; Linux since the mid-90s; virtualization since the early 2000s and spent the past few years working in the cloud space.
Location
Alexandria, VA, USA
Education
B.S. Psychology from Pennsylvania State University
Even before I get to the point of letting AWS validate my templates, I usually run them through a local de-linter. Either jq or Python's json.tool module works a trick:
jq --exit-status . <FILENAME>
python -m json.tool <FILENAME>
Takes care of basic syntax checking. Both also work well inside a CI testing-rule (e.g., a .travis.yml file). Which means you can set up a git-trigger to only allow a branch-merge when a basic syntax check passes.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Even before I get to the point of letting AWS validate my templates, I usually run them through a local de-linter. Either
jq
or Python'sjson.tool
module works a trick:jq --exit-status . <FILENAME>
python -m json.tool <FILENAME>
Takes care of basic syntax checking. Both also work well inside a CI testing-rule (e.g., a
.travis.yml
file). Which means you can set up a git-trigger to only allow a branch-merge when a basic syntax check passes.