The-DevOps-Daily/terraform-provider-validatefx
View on GitHubAdd postal_code validator
Open
#307 opened on Nov 10, 2025
enhancementhacktoberfestlocale
Repository metrics
- Stars
- (21 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Implement a new provider::validatefx::postal_code validator.
Description:
- Validate postal/ZIP code formats (optionally country-specific).
Acceptance criteria:
- Subtask: Implement postal_code validator in internal/validators
- Subtask: Add unit tests for postal_code validator
- Subtask: Add postal_code function to internal/functions package
- Subtask: Add unit tests for postal_code function
- Subtask: Register postal_code in registry.go
- Subtask: Add documentation in examples/functions/postal_code/function.tf
- Subtask: Update docs table using make docs command
- Subtask: Add integration test in integration/main.tf