Difference between revisions of "Terraform resource: datadog user"
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
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
- Terraform datadog, provider,
datadog_user, datadog_monitor_json, datadog_logs_custom_pipeline, datadog_integration_aws, datadog_security_monitoring_rule, datadog_integration_slack_channel, datadog_dashboard_json, datadog_logs_index
- Datadog, Datadog agent, Forwarder, Spans, DBM, standard attribute list, facets, log explorer, Terraform datadog, Airflow,
dog, agent, DogStatsD
, Airflow integration, Datadog pipelines,app.datadoghq.eu
, Datadog Cloud SIEM, Cloud Security Management, Datadog AWS Integration, Datadog Monitors,dd-trace-go
, DataDog Continuous Profiler, CoScreen, Kubernetes APM, flex logs, Datadog notifications
Advertising: