conde-nast-international / tftest

Terraform Testing Tool
Other
0 stars 1 forks source link

Reduce amount of logs running. #29

Closed renatoc closed 6 years ago

renatoc commented 6 years ago

To reduce this i used debug module, all info that you need to read was added to readme.

example:

(⎈ |prod:kube-system) renatoc@Renato-MBP  ~/Projects/yld/conde/tftest   mv-console-debug  ENV DEBUG=tftest,generic bin/tftest show -p spec/lib/fixtures/simple-create.plan
  tftest program args: [ '/Users/renatoc/.nvm/versions/node/v8.9.1/bin/node',
  '/Users/renatoc/Projects/yld/conde/tftest/bin/tftest',
  'show',
  '-p',
  'spec/lib/fixtures/simple-create.plan' ] +0ms
  generic tfjsonBin args: +0ms
  generic readDir args: /Users/renatoc/Projects/yld/conde/tftest/node_modules/.bin +0ms
  generic runBin args: /Users/renatoc/Projects/yld/conde/tftest/node_modules/.bin/tfjson [ 'spec/lib/fixtures/simple-create.plan' ] +1ms
....
....