Difference between revisions of "Terraform resource: datadog user"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
# Source a role | # Source a role | ||
data "datadog_role" "ro_role" { | data "datadog_role" "ro_role" { | ||
− | filter = "Datadog Read Only Role" | + | filter = "[[Datadog Read Only Role]]" |
} | } | ||
Revision as of 08:38, 28 June 2024
Official example
# 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] }
See also
Advertising: