The-DevOps-Daily/terraform-provider-validatefx

Add country_code validator

Open

#304 建立於 2025年11月10日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Go (25 fork)github user discovery
enhancementhacktoberfestlocale

倉庫指標

Star
 (21 star)
PR 合併指標
 (PR 指標待抓取)

描述

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

Description:

  • Validate ISO 3166-1 alpha-2 country codes.

Acceptance criteria:

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

貢獻者指南