scalr_datadog_integration

Resource: scalr_datadog_integration

Manages the state of Datadog integrations in Scalr.

Example Usage

resource "scalr_datadog_integration" "example" {
  name           = "datadog"
  api_key        = var.datadog_api_key
  deployment_url = "https://us5.datadoghq.com"
}

Schema

Required

  • api_key (String, Sensitive) Datadog API key.
  • name (String) Name of the Datadog integration.

Optional

  • deployment_url (String) URL of the Datadog site, e.g. https://us5.datadoghq.com. If not set, https://api.datadoghq.com is used.

Read-Only

  • account_id (String) ID of the account the integration belongs to.
  • err_message (String) Error message reported by Scalr when the integration is in the failed status.
  • id (String) The ID of this resource.
  • status (String) Status of the integration: active, disabled or failed. Scalr sets the failed status when the integration cannot connect to Datadog.

Import

Import is supported using the following syntax:

terraform import scalr_datadog_integration.example in-xxxxxxxxxx

Did this page help you?