thrashr888/thrashr888-agent-kit/hcp-terraform
Claude Code and agent skill by thrashr888/thrashr888-agent-kit
- community
Checking that the SKILL.md file is still in the repository.
HCP Terraform (Terraform Cloud) workflow for remote plan and apply. Use when working with Terraform that runs in Terraform Cloud, not locally.
Install
npx vskill@latest install thrashr888/thrashr888-agent-kit/hcp-terraformSKILL.md
HCP Terraform (Terraform Cloud)
Workflow for Terraform projects that use HCP Terraform (formerly Terraform Cloud) for remote execution.
Key Constraint
You cannot apply locally. All plans and applies run in HCP Terraform.
Setup
Authentication
Backend Configuration
Or with tags for multiple workspaces:
Workflow
1. Initialize
This connects to HCP Terraform and sets up remote state.
2. Plan (Remote)
The plan runs in HCP Terraform. Output is streamed to your terminal.
3. Apply (Remote)
Note: For workspaces with auto-apply disabled, you may need to approve in the UI.
4. Check Run Status
Makefile Target (from ethertext)
Variables
Workspace Variables
Set in HCP Terraform UI or via API:
- Go to Workspace → Variables
- Add Terraform variables (for
.tffiles) - Add Environment variables (for providers, e.g.,
AWS_ACCESS_KEY_ID)
Sensitive Variables
Mark sensitive variables in the UI. They won't be shown in logs.
Variable Sets
For variables shared across workspaces:
- Organization Settings → Variable Sets
- Create set with common variables
- Apply to workspaces by tag or name
Common Patterns
AWS Provider
S3 Resources (ethertext pattern)
CloudFront Distribution
Troubleshooting
Token Expired
Workspace Not Found
Plan Pending Approval
Go to HCP Terraform UI → Workspace → Runs → Approve or discard.
Locked State
If state is locked from a failed run:
- Go to HCP Terraform UI
- Workspace → Settings → Locking
- Unlock (or wait for timeout)
CLI Commands Reference
Best Practices
- Never hardcode secrets - Use TFC variables
- Use workspaces per environment - dev, staging, prod
- Enable Sentinel policies - For compliance
- Review plans before apply - Disable auto-apply for production
- Use run triggers - Chain dependent workspaces
- Lock provider versions - Prevent unexpected upgrades
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/hcp-terraform/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thrashr888/thrashr888-agent-kit/hcp-terraform)