Releases: dash0hq/terraform-provider-dash0
Release list
v1.15.0
New Components
teams: Add team resource for managing teams and membership as code (#133)
Newdash0_teamresource declaratively manages Dash0 teams — the technical name, display
attributes, and membership — via theTeamDefinitionV1Alpha1CRD envelope. Members can be
referenced by email address or internal Dash0 id; the server resolves emails during
reconciliation, and the provider rewrites returned ids back to emails on read so state
matches the user's YAML. Teams are organization-level resources and are not scoped to a
dataset.
Bug Fixes
provider: Populateidandurlin state afterterraform importfor assets that carry nodash0.com/originlabel. (#135)
Assets originally created in the Dash0 UI have nodash0.com/originlabel, so the previous
identifier resolver — which matched only on origin — left the imported resource'sidandurl
attributes empty (only aTF_LOG=INFOwarning surfaced the miss). The resolver now falls back to
matching the imported identifier against each list item's internal id, soidandurlare
populated for both CLI/API/Terraform-created assets (where the origin label is present) and
UI-created assets (where it is absent). Applies to dashboards, views, check rules, synthetic
checks, recording rules, spam filters, and notification channels.
v1.14.2
Enhancements
provider: Add AWS CloudFormation integration guide and Terraform example for IaC onboarding. (#76)
Documents deploying the Dash0 AWS integration via the AWS provider's
aws_cloudformation_stackresource and the hosted v2 CloudFormation template.
TechnicalIdis optional for Terraform onboarding — when omitted, the template
derives the IAM external ID from the CloudFormation stack ID (template 2.2 / CLO-906).
v1.14.1
Bug Fixes
notification_channels: Resolve perpetual drift on dash0_notification_channel when a check rule or synthetic check binds to the channel by id. (#128)
The Dash0 API populates spec.routing.assets on a notification channel as a back-reference whenever a check rule (via the dash0.com/notification-channel-ids annotation) or a synthetic check (via spec.notifications.channels) binds to the channel by id. The field is discarded on write, so previous releases produced a perpetual diff that attempted to wipe the back-reference on every plan.
The provider now treats spec.routing.assets as API-managed and ignores it during comparison.
If a user supplies spec.routing.assets on the channel YAML, the provider emits a warning on create and update, since the Dash0 API will discard the value. Bind a check rule or synthetic check to a channel from the check resource instead.
v1.14.0
Enhancements
provider: Support OAuth-enabled dash0 CLI profiles (#123)
The provider now accepts profiles authenticated viadash0 auth login(OAuth).
Access tokens are transparently refreshed when close to expiry.
If the refresh token is expired, a clear error directs the user to re-authenticate.provider: Load Dash0 credentials from a dash0 CLI profile when they are not supplied via attributes or environment variables. (#65)
Adds an optionalprofileattribute on the provider block and reads from
the dash0 CLI configuration directory (~/.dash0by default, overridable
viaDASH0_CONFIG_DIR). Credentials are resolved in this order:DASH0_API_URL/DASH0_AUTH_TOKENenvironment variables (DASH0_URL
remains accepted as a deprecated fallback for the URL).- The
url/auth_tokenprovider attributes. - The CLI profile named by the
profileattribute; ifprofileis not
set, the active profile in the dash0 CLI configuration directory.
v1.13.0
Enhancements
provider: Exposeidas a computed attribute on every resource (#119)
All provider resources — dashboards, views, check rules, synthetic checks,
recording rules, spam filters, and notification channels — now expose a
computedidattribute holding the server-assigned UUID. Reference it (e.g.
as${dash0_notification_channel.example.id}) when wiring one resource's
identifier into another resource's YAML, where the Dash0 API expects raw
UUIDs rather than provider-generated origins.
v1.12.0
Enhancements
resources: Add a computedurlattribute to thedash0_dashboard,dash0_check_rule,dash0_synthetic_check,dash0_viewanddash0_notification_channelresources that links to the resource in the Dash0 web app (#115). The URL is derived from the configured Dash0 API URL and the resource's server-assigned identifier. For views, the page is selected based on the view's type.
v1.11.0
v1.10.3
Enhancements
provider: Document presence on the OpenTofu registry and add Terraform/OpenTofu registry badges to the README. (#101)spam_filters: Support thev1alpha2spam filter shape (spec.contextscalar) in addition to the existingv1alpha1shape (spec.contextslist). (#105)
The provider now dispatches Create/Update against the matching API endpoint based on the
apiVersiondeclared inspam_filter_yaml, and decodes Read responses into either shape.
v1.10.2
Enhancements
dashboards, check_rules, synthetic_checks, views:dash0.com/sharinganddash0.com/folder-pathmetadata annotations are now preserved during drift detection (#98)
Thedash0.com/sharingannotation is supported on dashboards, check rules, synthetic checks, and views.
Thedash0.com/folder-pathannotation is supported on dashboards and views.
Changes to these annotations now trigger a Terraform plan update. All other metadata annotations remain server-managed and are ignored during drift detection.
v1.10.1
Bug Fixes
spam_filters: Fix spam filter FilterCriteria format in fixtures, tests, and docs to match the Dash0 AttributeFilter API schema (#96)
The filter criteria now uses the correct flat format withoperatorandvaluefields
instead of the incorrect nestedstringValueformat.