FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

Chef Provider

Chef is a systems and cloud infrastructure automation framework. The Chef provider allows Terraform to manage various resources that exist within Chef Server.

Use the navigation to the left to read about the available resources.

Example Usage

# Configure the Chef provider
provider "chef" {
     server_url = "https://api.chef.io/organizations/example/"

     // You can set up a "Client" within the Chef Server management console.
     client_name = "terraform"
     private_key_pem = "${file(\"chef-terraform.pem\")}"
}

# Create a Chef Environment
resource "chef_environment" "production" {
    name = "production"
}

# Create a Chef Role
resource "chef_role" "app_server" {
    name = "app_server"
    run_list = [
        "recipe[terraform]"
    ]
}

Argument Reference

The following arguments are supported:


See the source of this document at Terraform.io