0
0
llucycodes42
The code provisioner "chef" { node_name = "${webserver1}" run_list = ["cookbook::recipe"] user_name = "user_name-example" user_key = "user_key-example" server_url = "server_url-example" } creates a Chef server that runs recipes contained in the cookbook::recipe namespace. The node_name setting specifies the name of the Chef server instance. The run_list setting specifies the recipes to run on the server. The user_name and user_key settings specify the user name and password for the user who will access the Chef server. The server_url setting specifies the URL of the Chef server.
Shortcut: tf_chef_provisioner
provisioner "chef" {
node_name = "${webserver1}"
run_list = ["cookbook::recipe"]
user_name = "user_name-example"
user_key = "user_key-example"
server_url = "server_url-example"
}