datadog_service_account (Resource)

Provides a Datadog service account resource. This can be used to create and manage Datadog service accounts.

Example Usage

# Source a role
data "datadog_role" "ro_role" {
  filter = "Datadog Read Only Role"
}
# Create a new Datadog service account
resource "datadog_service_account" "bar" {
  email = "new@example.com"
  name  = "Service Account Bar"
  roles = [data.datadog_role.ro_role.id]
}

Schema

Required

Optional

Read-Only

Import

Import is supported using the following syntax:

terraform import datadog_service_account.example_sa 6f1b44c0-30b2-11eb-86bc-279f7c1ebaa4