Difference between revisions of "Terraform resource: datadog user"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
* https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/user
 
* https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/user
  
 +
== Official example ==
 +
<pre>
 +
# Source a role
 +
data "datadog_role" "ro_role" {
 +
  filter = "Datadog Read Only Role"
 +
}
 +
 +
# Create a new Datadog user
 +
resource "datadog_user" "foo" {
 +
  email = "[email protected]"
 +
 +
  roles = [data.datadog_role.ro_role.id]
 +
}
 +
</pre>
  
 
== See also ==
 
== See also ==

Revision as of 07:41, 28 June 2024

Advertising: