Example:
./terraformer import datadog --resources=monitor --api-key=YOUR_DATADOG_API_KEY // or DATADOG_API_KEY in env --app-key=YOUR_DATADOG_APP_KEY // or DATADOG_APP_KEY in env --api-url=DATADOG_API_URL // or DATADOG_HOST in env --validate=VALIDATE_BOOL // or DATADOG_VALIDATE in env
./terraformer import datadog --resources=monitor --filter=monitor=id1:id2:id4 --api-key=YOUR_DATADOG_API_KEY // or DATADOG_API_KEY in env --app-key=YOUR_DATADOG_APP_KEY // or DATADOG_APP_KEY in env --validate=VALIDATE_BOOL // or DATADOG_VALIDATE in env
List of supported Datadog services:
dashboard
datadog_dashboard
dashboard_json
datadog_dashboard_json
dashboard_list
datadog_dashboard_list
downtime
datadog_downtime
logs_archive
datadog_logs_archive
logs_archive_order
datadog_logs_archive_order
logs_custom_pipeline
datadog_logs_custom_pipeline
logs_integration_pipeline
datadog_logs_integration_pipeline
logs_pipeline_order
datadog_logs_pipeline_order
logs_index
datadog_logs_index
logs_index_order
datadog_logs_index_order
integration_aws
datadog_integration_aws
integration_aws_lambda_arn
datadog_integration_aws_lambda_arn
integration_aws_log_collection
datadog_integration_aws_log_collection
integration_azure
datadog_integration_azure
- NOTE: Sensitive field
client_secret
is not generated and needs to be manually set
- NOTE: Sensitive field
integration_gcp
datadog_integration_gcp
- NOTE: Sensitive fields
private_key, private_key_id, client_id
is not generated and needs to be manually set
- NOTE: Sensitive fields
integration_pagerduty
datadog_integration_pagerduty
integration_pagerduty_service_object
datadog_integration_pagerduty_service_object
integration_slack_channel
datadog_integration_slack_channel
- NOTE: Importing resource requires resource ID or
account_name
to be passed via Filter option
- NOTE: Importing resource requires resource ID or
metric_metadata
datadog_metric_metadata
- NOTE: Importing resource requires resource ID's to be passed via Filter option
monitor
datadog_monitor
role
datadog_role
screenboard
datadog_screenboard
security_monitoring_default_rule
datadog_security_monitoring_default_rule
security_monitoring_rule
datadog_security_monitoring_rule
service_level_objective
datadog_service_level_objective
synthetics_test
datadog_synthetics_test
synthetics_global_variable
datadog_synthetics_global_variable
- NOTE: Importing resource requires resource ID's to be passed via Filter option
synthetics_private_location
datadog_synthetics_private_location
timeboard
datadog_timeboard
user
datadog_user