一键导入
run-acctests
Executes acceptance tests (testacc) for a specific resource or suite in the provider and outputs verbose debug logs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Executes acceptance tests (testacc) for a specific resource or suite in the provider and outputs verbose debug logs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Skill for reviewing Magic Modules schemas. Currently covers the Enum vs. String decision via the knowledge base.
Opt resource into MMv1 list-resource generation by setting `generate_list_resource: true`, validate it locally, and open a one-resource PR against GoogleCloudPlatform/magic-modules. Invoke when the user asks to add list-resource support for a specific MMv1 resource or to enable `generate_list_resource` for an eligible resource.
Fallback workflow for general implementation and debugging tasks that do not involve creating a new resource.
Workflow specifically for creating a new resource, supporting both autogen and manual generation.
Create a Pull Request (PR) against GoogleCloudPlatform/magic-modules following repository standards, including branch management, commit formatting, mandatory release notes, pre-PR verification checks, and gh CLI commands.
Validate that changes to the generated providers don't introduce breaking changes or fields with missing tests or missing documentation. Use this skill when the user wants to check for breaking changes, missing tests, or missing documentation, or other problems in the downstream providers.
| name | run-acctests |
| description | Executes acceptance tests (testacc) for a specific resource or suite in the provider and outputs verbose debug logs. |
run-acctestsNote to AI Agents: You MUST read the YAML frontmatter above first. Only read the rest of this file if the
descriptionmatches your current roadblock or required task.
$GOPATH/src/github.com/hashicorp/terraform-provider-google-beta../google-beta/services/compute) and test name (e.g., TestAccComputeInstance_basic) you wish to run.pwd # Verify we are in the generated provider directory
Run the acceptance test with TF_LOG=DEBUG enabled, and stream the output to a log file (test_output.log) so it can be parsed later if it fails.
# Replace <SERVICE_NAME> and <TEST_NAME> with the appropriate values
TF_LOG=DEBUG make testacc TEST=./google-beta/services/<SERVICE_NAME> TESTARGS='-run=<TEST_NAME>$$' > test_output.log 2>&1
parse-debug-logs skill on test_output.log to understand the API failure before proposing a fix.