Archive for October, 2019

Terraform cheat sheet

Sunday, October 6th, 2019

The course “Infrastructure Automation With Terraform” provides the course files on github: “wardviaene/terraform-course“.

Print whole deep object in JS

Sunday, October 6th, 2019

The functions `console.log` or `JSON.stringify` in JavaScript do not print deep nested structures. To workaround, use `util.inspect`:


const util = require('util')
console.log(util.inspect(object_to_dump, { depth: 100, compact: false }))