layout | page_title | sidebar_current | description |
---|---|---|---|
runscope |
Runscope: runscope_integration |
docs-runscope-datasource-integration |
Get information about runscope integrations enabled on for your team. |
Use this data source to get information about a specific integration that you can with other runscope resources.
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"
}
]
}
The following arguments are supported:
team_uuid
- (Required) Your team unique identifier.type
- (Required) Type of integration to lookup i.e. pagerduty
The following attributes are exported:
id
- The unique identifier of the found integration.