run-acceptance-tests

作者: hashicorp

We need to translate the given text from English to Traditional Chinese. The text is about executing and diagnosing Go acceptance tests for Terraform providers. We must preserve product names, protocol names, URLs, numbers, technical terms. The name "run-acceptance-tests" is not in the text, so we don't include it. We should not add any extra commentary or labels. The text: "Execute and diagnose Go acceptance tests for Terraform providers with structured troubleshooting. Run focused acceptance tests using go test -run=TestAccFeatureHappyPath with TF_ACC=1 environment variable Diagnose failures progressively: retry with -count=1 , enable verbose output with -v , activate debug logging via TF_LOG=debug , and persist Terraform workspace with TF_ACC_WORKING_DIR_PERSIST=1 Validate test reliability by intentionally breaking a TestCheckFunc, re-running the test to..." We need to translate this into Traditional Chinese. Keep technical terms like "go test", "TF_ACC=1", "-count=1", "-v", "TF_LOG=debug",

npx skills add https://github.com/hashicorp/agent-skills --skill run-acceptance-tests

來自 hashicorp 的更多技能

provider-actions
hashicorp
使用 Plugin Framework 實作 Terraform Provider 動作。在開發於生命週期事件(前/後…)執行的命令式操作時使用。
official
provider-docs
hashicorp
使用 HashiCorp 推薦的模式、tfplugindocs 模板和 schema,為 Terraform Registry 建立、更新和審查 Terraform provider 文件…
official
aws-ami-builder
hashicorp
使用Packer的amazon-ebs建置器建立自訂Amazon Machine Images。透過HCL範本自動化從來源AMI建立AMI,並搭配佈建工具(Shell腳本、檔案上傳、組態管理)進行自訂。支援透過ami_regions進行多區域AMI分發,以及依名稱、擁有者和虛擬化類型進行靈活的來源AMI篩選。可透過環境變數、AWS憑證檔案或IAM執行個體設定檔進行驗證;包含範本的驗證與建置命令...
official
azure-image-builder
hashicorp
使用 Packer 建置 Azure 受控映像與 Azure Compute Gallery 映像。適用於為 Azure VM 建立自訂映像時使用。
official
azure-verified-modules
hashicorp
認證要求與Azure Terraform模組尋求AVM合規性的最佳實踐。強制執行提供者版本限制(azurerm >= 4.0, < 5.0;azapi >= 2.0, < 3.0),並禁止基於git的模組引用,改為使用固定的Terraform註冊表來源。要求所有識別碼採用小寫蛇形命名法、精確的變數類型、透過防腐層模式實現離散的輸出屬性,以及按字母順序排列的locals。新增資源時需要功能切換變數...
official
new-terraform-provider
hashicorp
使用 Plugin Framework 建立新的 Terraform provider。生成新的 Go 模組工作區,採用標準的「terraform-provider-」命名慣例,並初始化所需的依賴項。提供遵循 HashiCorp Plugin Framework 模式的範本 main.go 檔案,並附有待辦事項標記供自訂使用。透過執行建置與測試指令來驗證設定,確保 provider 能成功編譯並通過初步檢查。在建立新的工作區前,會先確認意圖以管理工作區。
official
provider-actions
hashicorp
使用 Plugin Framework 在資源生命週期事件中執行命令式的 Terraform Provider 動作。支援建立前/後與更新前/後的觸發機制(Terraform 1.14.0 不支援銷毀事件)。需以正確的框架類型、集合的 ElementType 及輸入驗證器定義適當的綱要。包含進度回報、逾時管理及長時間操作的全面錯誤處理。實作輪詢與...
official
provider-docs
hashicorp
使用 HashiCorp 推薦的模式、tfplugindocs 模板和 schema,為 Terraform Registry 建立、更新和審查 Terraform provider 文件。
official