stelligent / cfn_nag

Linting tool for CloudFormation templates
MIT License
1.25k stars 209 forks source link

It does not work for Windows Machine and Docker Desktop #602

Open jorgealvarezro opened 2 years ago

jorgealvarezro commented 2 years ago

Hi,

I wanted to use this in VSCode with Docker Desktop in Windows Machine and the following instruction does not work:

docker run -v pwd/spec/test_templates:/templates -t stelligent/cfn_nag /templates/json/efs/filesystem_with_encryption.json (this is because pwd does not exist in windows).

If you use the Terminal of VSCode, which is based on Powershell, this would be the instruction: docker run -v ${PWD}/spec/test_templates:/templates -t stelligent/cfn_nag /templates/json/efs/filesystem_with_encryption.json

Would you mind to add that entry for a Windows version please.

Thanks.