github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/datadog/index.html.markdown (about)

     1  ---
     2  layout: "datadog"
     3  page_title: "Provider: Datadog"
     4  sidebar_current: "docs-datadog-index"
     5  description: |-
     6    The Datadog provider is used to interact with the resources supported by Datadog. The provider needs to be configured with the proper credentials before it can be used.
     7  ---
     8  
     9  # Datadog Provider
    10  
    11  The [Datadog](https://www.datadoghq.com) provider is used to interact with the
    12  resources supported by Datadog. The provider needs to be configured
    13  with the proper credentials before it can be used.
    14  
    15  Use the navigation to the left to read about the available resources.
    16  
    17  ## Example Usage
    18  
    19  ```hcl
    20  # Configure the Datadog provider
    21  provider "datadog" {
    22    api_key = "${var.datadog_api_key}"
    23    app_key = "${var.datadog_app_key}"
    24  }
    25  
    26  # Create a new monitor
    27  resource "datadog_monitor" "default" {
    28    # ...
    29  }
    30  
    31  # Create a new timeboard
    32  resource "datadog_timeboard" "default" {
    33    # ...
    34  }
    35  ```
    36  
    37  ## Argument Reference
    38  
    39  The following arguments are supported:
    40  
    41  * `api_key` - (Required) Datadog API key. This can also be set via the `DATADOG_API_KEY` environment variable.
    42  * `app_key` - (Required) Datadog APP key. This can also be set via the `DATADOG_APP_KEY` environment variable.