terraform-cloud
Terraform Cloud — manage workspaces, runs, plans, state, and variables via REST API
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aiwithabidi/terraform-cloudWhat This Skill Does
The terraform-cloud skill for OpenClaw provides a robust interface to manage your HashiCorp Terraform Cloud infrastructure programmatically. By interacting directly with the Terraform Cloud REST API, this skill allows your AI agent to automate the lifecycle of workspaces, manage environment variables, trigger runs, and inspect state versions. It effectively bridges the gap between natural language intent and complex infrastructure orchestration, enabling self-healing or automated DevOps workflows without requiring manual intervention in the Terraform Cloud dashboard.
Installation
To integrate this skill into your OpenClaw environment, ensure you have the necessary API credentials from your Terraform Cloud organization. Run the following command in your terminal:
clawhub install openclaw/skills/skills/aiwithabidi/terraform-cloud
Once installed, configure your environment by exporting your TFC_TOKEN and TFC_ORG variables. These credentials ensure the script can authenticate successfully with the Terraform Cloud services. You can verify the installation by running python3 {{baseDir}}/scripts/terraform-cloud.py orgs to confirm connectivity.
Use Cases
This skill is ideal for teams practicing Infrastructure as Code (IaC) at scale. Common use cases include:
- Automated Workspace Provisioning: Dynamically create new workspaces when a new microservice repository is initialized.
- Continuous Integration Pipelines: Automatically trigger plan and apply actions based on upstream code changes or webhook events.
- Infrastructure Auditing: Regularly query the state of your infrastructure to ensure compliance or perform inventory audits.
- Credential Management: Programmatically inject or update environment variables for workspaces to rotate secrets or update configuration dynamically.
Example Prompts
- "Check the status of the current runs in the production-web workspace and tell me if any require manual approval."
- "Create a new Terraform Cloud workspace named 'staging-db' and configure it with the standard Terraform version for our organization."
- "List all variables currently defined for the 'core-network' workspace and check if the AWS_REGION is set correctly."
Tips & Limitations
- Authentication Security: Always handle your
TFC_TOKENsecurely. Use environment variables or secret management tools rather than hardcoding tokens into scripts. - Human-Readable Output: For quick debugging, always append
--humanto your commands to convert raw JSON outputs into a formatted, easy-to-read table. - API Rate Limiting: Terraform Cloud has strict API rate limits. If your agent performs high-frequency bulk operations, consider adding delays between calls to avoid hitting those limits.
- Scope: This skill is restricted to the features provided by the Terraform Cloud REST API; administrative tasks that require UI-specific interactions are not supported.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aiwithabidi-terraform-cloud": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, network-access
Related Skills
agent-memory
Full AI agent memory stack — Mem0 unified memory engine with vector search (Qdrant) and knowledge graph (Neo4j), plus SQLite for structured data. Complete setup script and tools. Give your OpenClaw agent a real brain with semantic recall, entity relationships, and structured storage.
skill-auditor
Security audit and quarantine system for third-party OpenClaw skills. Use when evaluating, reviewing, or installing any skill from ClawHub or external sources. Automatically triggered before any skill installation.
Model Intel
Live LLM model intelligence and pricing from OpenRouter
deep-search
Multi-tier Perplexity search with Langfuse tracing. Three depth levels: quick (sonar), pro (sonar-pro), deep (sonar-reasoning-pro). Supports focus modes: internet, academic, news, youtube, reddit. Returns AI-synthesized answers with citations. Use for research, comparisons, market analysis, fact-checking. Triggers: search, research, look up, find out, compare, what is, deep search, web research.
amplitude
Amplitude product analytics — track events, analyze user behavior, run cohort analysis, manage user properties, and query funnel/retention data via the Amplitude API. Understand product usage, measure feature adoption, and analyze user journeys. Built for AI agents — Python stdlib only, zero dependencies. Use for product analytics, user behavior tracking, funnel analysis, retention analysis, and cohort segmentation.