The-DevOps-Daily/terraform-provider-validatefx
View on GitHubAdd max_resource_count validator
Open
#309 opened on Nov 10, 2025
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:
- Subtask: Implement max_resource_count validator in internal/validators
- Subtask: Add unit tests for max_resource_count validator
- Subtask: Add max_resource_count function to internal/functions package
- Subtask: Add unit tests for max_resource_count function
- Subtask: Register max_resource_count in registry.go
- Subtask: Add documentation in examples/functions/max_resource_count/function.tf
- Subtask: Update docs table using make docs command
- Subtask: Add integration test in integration/main.tf