The-DevOps-Daily/terraform-provider-validatefx
View on GitHubAdd xor_valid validator
Open
#289 opened on Nov 10, 2025
enhancementhacktoberfestlogical
Repository metrics
- Stars
- (21 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
Implement a new provider::validatefx::xor_valid validator.
Description:
- Return true if exactly one of the provided conditions is true.
Acceptance criteria:
- Subtask: Implement xor_valid validator in internal/validators
- Subtask: Add unit tests for xor_valid validator
- Subtask: Add xor_valid function to internal/functions package
- Subtask: Add unit tests for xor_valid function
- Subtask: Register xor_valid in registry.go
- Subtask: Add documentation in examples/functions/xor_valid/function.tf
- Subtask: Update docs table using make docs command
- Subtask: Add integration test in integration/main.tf