Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Latest commit

 

History

History
45 lines (34 loc) · 1.11 KB

integration.html.markdown

File metadata and controls

45 lines (34 loc) · 1.11 KB
layout page_title sidebar_current description
runscope
Runscope: runscope_integration
docs-runscope-datasource-integration
Get information about runscope integrations enabled on for your team.

runscope_integration

Use this data source to get information about a specific integration that you can with other runscope resources.

Example Usage

data "runscope_integration" "pagerduty" {
  team_uuid = "d26553c0-3537-40a8-9d3c-64b0453262a9"
  type      = "pagerduty"
}

resource "runscope_environment" "environment" {
  bucket_id = "${runscope_bucket.bucket.id}"
  name      = "test-environment"

  integrations = [
    {
      id               = "${data.runscope_integration.pagerduty.id}"
      integration_type = "pagerduty"
    }
  ]
}

Argument Reference

The following arguments are supported:

  • team_uuid - (Required) Your team unique identifier.
  • type - (Required) Type of integration to lookup i.e. pagerduty

Attributes Reference

The following attributes are exported:

  • id - The unique identifier of the found integration.