Available data sources
| Data source | Lookup key | Returns |
|---|---|---|
devhelm_tag | name | id, color |
devhelm_environment | slug | id, name, is_default |
devhelm_alert_channel | name | id, channel_type |
devhelm_monitor | name | id, type, frequency_seconds, enabled, config, ping_url |
devhelm_resource_group | name | id, slug, description |
devhelm_service | slug (or UUID) | id, name, category, official_status_url, overall_status, component_count, uptime_30d |
devhelm_status_page | slug | id, name, description, visibility, enabled, incident_mode, page_url |
Name-keyed lookups (
devhelm_tag, devhelm_alert_channel,
devhelm_monitor, devhelm_resource_group) fail with an ambiguity error if
multiple resources share the name — names are not unique within an org.devhelm_tag
devhelm_environment
devhelm_alert_channel
devhelm_monitor
devhelm_resource_group
devhelm_service
Look up a third-party service in the DevHelm status-data catalog. Use the resultingid in notification-policy service_id_in match rules, or to validate a slug before creating a devhelm_dependency:
devhelm_status_page
When to use data sources
Use data sources when:- A resource is managed outside Terraform (e.g., via the dashboard or YAML config) but you need its ID
- You want to reference shared resources (tags, environments) without importing them into state
- Cross-module references need resource IDs from a different Terraform module
Next steps
Importing
Import existing resources into Terraform state.
Monitors
Create monitors that reference data sources.