head.daveops.net

Snippets for yer computer needs

Terraform - chef

Using chef-vault

provisioner "chef" {

  # add instance to chef-vault
  vault_json = <<EOF
{
  "databag": [
    "item1",
    "item2"
  ]
}
EOF
}