terraform_generate
Export existing LogicMonitor resources as Terraform HCL configuration to enable infrastructure as code management. Supports devices, groups, alerts, dashboards, and more.
Instructions
Export an existing LogicMonitor resource as Terraform HCL configuration using the logicmonitor/logicmonitor provider. Supports device, device_group, collector, alert_rule, escalation_chain, dashboard, datasource, sdt, website, role, and report_group resource types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_id | Yes | LogicMonitor resource ID to export | |
| resource_type | Yes | LM resource type to export (device, device_group, collector, collector_group, alert_rule, escalation_chain, dashboard, dashboard_group, datasource, sdt, website, website_group, role, report_group) |