3 ms·
Which is neither json or yaml...
by marcinzm 8y ago
Which is neither json or yaml...
- scarface74 8y agoIt's yet another semi-json format that doesn't have widespread support by any other parsers. Even Hashicorp recommends JSON if you want something that is machine readable.
- KajMagnus 8y agoI think it looks lovely :- ) having used Puppet a bit in the past. Look how simple: `inline = ["sudo apt-get -y update", ... install nginx ...` Terraform seems to be. .... hmm, apparently one can use things like Chef & Puppet etc together with Terraform, I eventually noticed.
- geggam 8y agothe nice way to do this is to pass the chef role to the user data template in the autoscale group vars { ROLE = "bastion" Then append this to the user_data.tpl file chef-client --audit-mode enabled -R -E ${chef_environment} -r role[${ROLE}] Allows you to use the same user_data.tpl file for multiple autoscale groups