Acceptance-test helpers must build their own client
SkillCloud & infraUse when an acceptance test panics with 'interface {} is nil, not *clientset.ClientSet' in a CheckDestroy or check helper, or a helper calls testAccProvider.Meta().
Use Acceptance-test helpers must build their own client in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Acceptance-test helpers must build their own client and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Acceptance-test helpers must build their own client skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by coralogix/terraform-provider-coralogix in .claude/skills/acc-test-helper-client-without-provider-meta/SKILL.md and read by Ahel’s review.
Trigger: A CheckDestroy or Check helper panics with interface conversion: interface {} is nil, not *clientset.ClientSet, often only when the test runs alone (-run '^TestX$') or in its own CI shard, such as a provider-migration job.
Fix: Build the client in the helper instead of reading it from testAccProvider.Meta():
cs, err := testAccNewClientSet()
if err != nil {
return err
}
Why: testAccProvider is the SDKv2 provider, and it is only configured once some earlier test in the same process has used it. A framework-only or ExternalProviders test that runs alone never configures it, so Meta() is nil.
Signals
- GitHub stars
- 22
- Forks
- 14
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
acc-test-helper-client-without-provider-meta- Source
- github.com/coralogix/terraform-provider-coralogix
github.com/coralogix/terraform-provider-coralogix
Related picks
Skill · samber
The pick for Gogo-sdk-specialist
Skill · a5c-ai
The pick for Govercel-react-best-practices
Skill · vercel-labs
More in Cloud & infraweb-design-guidelines
Skill · vercel-labs
More in Cloud & infraturborepo
Skill · vercel
More in Cloud & inframicrosoft-foundry
Skill · microsoft
More in Cloud & infra