Skip to content

azurermDatadogMonitorSsoConfiguration

Manages SingleSignOn on the datadog Monitor.

Example Usage

Enabling SSO on monitor

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new azurerm.datadogMonitorSsoConfiguration.DatadogMonitorSsoConfiguration(
  this,
  "test",
  {
    datadog_monitor_id: "${azurerm_datadog_monitor.example.id}",
    enterprise_application_id: "XXXX",
    single_sign_on_enabled: "Enable",
  }
);
new azurerm.resourceGroup.ResourceGroup(this, "example", {
  location: "West US 2",
  name: "example-datadog",
});

Arguments Reference

The following arguments are supported:

  • datadogMonitorId - (Required) The Datadog Monitor Id which should be used for this Datadog Monitor SSO Configuration. Changing this forces a new Datadog Monitor SSO Configuration to be created.

  • singleSignOnEnabled - (Required) The state of SingleSignOn configuration.

  • enterpriseApplicationId - (Required) The application Id to perform SSO operation.


  • name - (Optional) The name of the SingleSignOn configuration. Defaults to default.

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

  • loginUrl - The SingleSignOn URL to login to Datadog org.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 30 minutes) Used when creating the SingleSignOn on the datadog Monitor.
  • read - (Defaults to 5 minutes) Used when retrieving the SingleSignOn on the datadog Monitor.
  • update - (Defaults to 30 minutes) Used when updating the SingleSignOn on the datadog Monitor.
  • delete - (Defaults to 30 minutes) Used when deleting the SingleSignOn on the datadog Monitor.

Import

SingleSignOn on the Datadog Monitor can be imported using the signleSignOnResourceId, e.g.

terraform import azurerm_datadog_monitor_sso_configuration.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Datadog/monitors/monitor1/singleSignOnConfigurations/default