The-DevOps-Daily/terraform-provider-validatefx

Add max_resource_count validator

Open

#309 opened on Nov 10, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Go (25 forks)github user discovery
enhancementhacktoberfestnumeric

Repository metrics

Stars
 (21 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Implement a new provider::validatefx::max_resource_count validator.

Description:

  • Validate that a resource count does not exceed a maximum quota.

Acceptance criteria:

  1. Subtask: Implement max_resource_count validator in internal/validators
  2. Subtask: Add unit tests for max_resource_count validator
  3. Subtask: Add max_resource_count function to internal/functions package
  4. Subtask: Add unit tests for max_resource_count function
  5. Subtask: Register max_resource_count in registry.go
  6. Subtask: Add documentation in examples/functions/max_resource_count/function.tf
  7. Subtask: Update docs table using make docs command
  8. Subtask: Add integration test in integration/main.tf

Contributor guide