chef_provisioner

    0

    0

    lucycodes42

    Terraform snippets

    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"
       }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.