You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to integrate some pre-commit check in the pipeline, so I would like to ask how can I lint/validate the files also when I am not logged in to the accounts (from the CI/CD pipeline or from my local laptop)
also, do you have any jsonschema for tasks and annotated stacks?
What do you suggest ?
The text was updated successfully, but these errors were encountered:
there is a print-tasks operation on the cli that can generate "native" cloudformation templates from orgformation tasks & templates. the output of this can verified by other tools like cfn-lint.
if [ -d .printed-stacks ]; then cfn-lint ./.printed-stacks/**/*.yaml -i W2001,E3001,E1019,W1020,W2509,E3021,W8001; else echo skipping linting; fi"
print-tasks will require you to be logged in to aws in some circumstances (perhaps all?) but only to read/resolve parameter values needed to build the templates
the list of rules that are ignored might need a review within your context/org. typically these have to do with (benign) artefacts created by the generation process.
Subject of the issue
I want to integrate some pre-commit check in the pipeline, so I would like to ask how can I lint/validate the files also when I am not logged in to the accounts (from the CI/CD pipeline or from my local laptop)
also, do you have any jsonschema for tasks and annotated stacks?
What do you suggest ?
The text was updated successfully, but these errors were encountered: