Skip to main content
Data sources let you reference existing DevHelm resources — monitors, tags, environments, alert channels, resource groups, status pages, and catalog services — in your Terraform configuration without managing their lifecycle.

Available data sources

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 resulting id 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.