Skip to content

feat: add devhelm_service data source - #33

Merged
caballeto merged 1 commit into
mainfrom
feat/service-data-source
Jun 10, 2026
Merged

feat: add devhelm_service data source#33
caballeto merged 1 commit into
mainfrom
feat/service-data-source

Conversation

@caballeto

Copy link
Copy Markdown
Member

Summary

  • New devhelm_service data source: looks up a catalog service by slug and exposes id/name/status/categories/components — closes the loop for devhelm_dependency and service_id_in notification-policy match rules without hardcoded UUIDs.
  • Follows the existing read-only data-source pattern; includes docs page + example config.
  • Vendors the updated OpenAPI spec (devhelmhq/mono#522).

Test plan

  • Unit tests (internal/provider/datasources/service_test.go, paths tests)
  • Acceptance test (service_acc_test.go) against the local test stack
  • go vet, gofmt, build

Made with Cursor

Read-only catalog lookup by slug: resolves a service to its UUID,
status, and component list so service_id_in notification-policy match
rules and devhelm_dependency resources can reference catalog services
without hardcoding IDs. Vendors the updated OpenAPI spec.

Co-authored-by: Cursor <cursoragent@cursor.com>
@caballeto
caballeto merged commit 3313f52 into main Jun 10, 2026
6 checks passed
@caballeto
caballeto deleted the feat/service-data-source branch June 10, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant