Provides a Datadog user resource. This can be used to create and manage Datadog users.
# Source a role
data "datadog_role" "ro_role" {
filter = "Datadog Read Only Role"
}
# Create a new Datadog user
resource "datadog_user" "foo" {
email = "new@example.com"
roles = [data.datadog_role.ro_role.id]
}
email
(String) Email address for user.disabled
(Boolean) Whether the user is disabled. Defaults to false
.name
(String) Name for user.roles
(Set of String) A list a role IDs to assign to the user.send_user_invitation
(Boolean) Whether an invitation email should be sent when the user is created. Defaults to true
.id
(String) The ID of this resource.user_invitation_id
(String) The ID of the user invitation that was sent when creating the user.verified
(Boolean) Returns true
if the user is verified.Import is supported using the following syntax:
terraform import datadog_user.example_user 6f1b44c0-30b2-11eb-86bc-279f7c1ebaa4