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_tag
devhelm_environment
devhelm_alert_channel
devhelm_monitor
devhelm_resource_group
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.