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

     1  ---
     2  layout: "opsgenie"
     3  page_title: "Provider: OpsGenie"
     4  sidebar_current: "docs-opsgenie-index"
     5  description: |-
     6    The OpsGenie provider is used to interact with the many resources supported by OpsGenie. The provider needs to be configured with the proper credentials before it can be used.
     7  ---
     8  
     9  # OpsGenie Provider
    10  
    11  The OpsGenie provider is used to interact with the
    12  many resources supported by OpsGenie. 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 OpenStack Provider
    21  provider "opsgenie" {
    22    api_key = "key"
    23  }
    24  
    25  # Create a user
    26  resource "opsgenie_user" "test" {
    27    # ...
    28  }
    29  ```
    30  
    31  ## Configuration Reference
    32  
    33  The following arguments are supported:
    34  
    35  * `api_key` - (Required) The API Key for the OpsGenie Integration. If omitted, the
    36    `OPSGENIE_API_KEY` environment variable is used.
    37  
    38  You can generate an API Key within OpsGenie by creating a new API Integration with Read/Write permissions.
    39  
    40  ## Testing and Development
    41  
    42  In order to run the Acceptance Tests for development, the following environment
    43  variables must also be set:
    44  
    45  * `OPSGENIE_API_KEY` - The API Key used for the OpsGenie Integration.