Skip to main content
skill CX Codex

provider-configuration — Claude Code skill for Terraform providers

Guides Terraform provider authentication and credential resolution. Use it when designing a provider schema, wiring Configure(), or investigating missing credentials.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add hashicorp/agent-skills --skill provider-configuration -a claude-code
Open on GitHub

What provider-configuration does

This skill covers authentication setup for providers built with the Terraform Plugin Framework. It explains schema attributes, environment-variable fallbacks, and a credential chain that checks provider configuration, environment variables, a shared credentials file, then platform identity. The chain accepts the first complete credential set; it does not combine a key from one source with a secret from another.

The material also covers unknown-value checks in Configure(), secret redaction, and diagnostics that report why sources were skipped. Authentication attributes should be Optional, and secrets should be Sensitive. Marking credentials Required prevents users from relying on environment variables or a credentials file, so that schema choice changes how the provider can be configured.

What it helps with

  • design authentication attributes for a provider schema
  • set precedence for credential sources
  • diagnose missing or unusable credentials
  • handle secrets in Configure()
  • test credential resolution

Example prompts for the agent

  • Design authentication settings for a Terraform provider using the Plugin Framework.
  • Review Configure() and propose a credential chain with useful diagnostics.
  • Write tests for credentials from provider configuration, environment variables, and a shared file.

How to install provider-configuration

1Skills CLI (Vercel)

npx skills add hashicorp/agent-skills --skill provider-configuration -a claude-code

2Manually: put the files in place

~/.claude/skills/provider-configuration/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/provider-configuration/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about provider-configuration

How do I install provider-configuration in Claude Code?

Run npx skills add hashicorp/agent-skills --skill provider-configuration -a claude-code. The skill file is at ~/.claude/skills/provider-configuration/SKILL.md.

What does provider-configuration do?

It guides the design of Terraform provider authentication, from schema attributes to credential-source ordering. It also covers secret handling and diagnostics in Configure().

Why should credentials come from a single source?

The skill treats a key and its secret as one complete set. If a source provides only part of the credentials, the chain moves on instead of combining values from different sources.

Similar skills

All skills for DevOps and infrastructure →

From the same set20

aws-ami-builder A skill that walks your agent through building Amazon Machine Images with Packer and the amazon-ebs builder — template, source AMI filters, build commands. CX Codex +1 3,200installs provider-docs Guides Terraform provider documentation workflows for the Terraform Registry. It coordinates schema descriptions, docs templates, and tfplugindocs generation. CX Codex +1 3,200installs push-to-registry Teaches AI assistants how to register Packer build details in HCP. Useful for tracking machine image lifecycles and linking artifacts directly to Terraform. CX Codex +1 3,000installs windows-builder A skill for building Windows images with Packer over WinRM and PowerShell provisioners. Useful for Windows AMIs, Azure images and VMware templates. CX Codex +1 2,700installs azure-image-builder This skill guides Packer builds for Azure managed images and Azure Compute Gallery. Use it when preparing custom images for Azure virtual machines. CX Codex +1 2,700installs terraform-policy Creates and tests Terraform Policy files, and converts Sentinel rules into Terraform Policy. Use it when policy files or their test cases need changes. CX Codex +1 1,500installs provider-ephemeral-resources Walks a provider author through ephemeral resources on the Terraform Plugin Framework, where secrets reach the config and never land in state or plan. CX Codex +1 917installs provider-framework-migration Guides per-resource migrations from Terraform Plugin SDKv2 to the Plugin Framework. Covers mux setup, schema translation, and state compatibility checks. CX Codex +1 913installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor