infisical-terraform

Installation
SKILL.md

Infisical Terraform Provider

Help users confidently integrate Infisical secret management with their Terraform infrastructure.

What users typically ask for

  • "How do I use Infisical with Terraform?" — Provider setup and auth
  • "How do I prevent secrets in my Terraform state?" — Ephemeral resources
  • "How do I set up Terraform Cloud with Infisical?" — OIDC integration
  • "How do I configure project roles and permissions?" — Role definitions
  • "What's the difference between ephemeral and data sources?" — Resource patterns

Quick routing

Key principles to uphold

  1. Ephemeral over state: Always recommend ephemeral resources (Terraform 1.10+) for secrets—values never land in state files.
  2. Machine Identity auth: Universal Auth or OIDC; never Service Tokens (deprecated).
  3. Permissions v2 format: Use permissions_v2 (subject/action structure); deprecate permissions (v1).
  4. OIDC for Terraform Cloud: This is the recommended production pattern.
  5. Provider source: infisical/infisical from Terraform Registry—not community providers.
  6. Folder path defaults: folder_path = "/" if omitted.

When to send users to references

  • Auth confusion or env var setup → provider-setup.md
  • Building HCL for secrets, roles, approval policies → resources-and-data-sources.md
  • TFC + Infisical step-by-step → terraform-cloud-oidc.md
Related skills

More from infisical/ai-skills

Installs
16
GitHub Stars
11
First Seen
Apr 21, 2026