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

     1  ---
     2  layout: "pagerduty"
     3  page_title: "PagerDuty: pagerduty_addon"
     4  sidebar_current: "docs-pagerduty-resource-addon"
     5  description: |-
     6    Creates and manages an add-on in PagerDuty.
     7  ---
     8  
     9  # pagerduty\_addon
    10  
    11  With [add-ons](https://v2.developer.pagerduty.com/v2/page/api-reference#!/Add-ons/get_addons), third-party developers can write their own add-ons to PagerDuty's UI. Given a configuration containing a src parameter, that URL will be embedded in an iframe on a page that's available to users from a drop-down menu.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "pagerduty_addon" "example" {
    17    name = "Internal Status Page"
    18    src  = "https://intranet.example.com/status"
    19  }
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26    * `name` - (Required) The name of the add-on.
    27    * `src` - (Required) The source URL to display in a frame in the PagerDuty UI. `HTTPS` is required.
    28  
    29  ## Attributes Reference
    30  
    31  The following attributes are exported:
    32  
    33    * `id` - The ID of the add-on.
    34  
    35  ## Import
    36  
    37  Add-ons can be imported using the `id`, e.g.
    38  
    39  ```
    40  $ terraform import pagerduty_addon.example P3DH5M6
    41  ```