What problem does it solve?
This Skill automates HashiCorp Cloud Platform (HCP) Terraform operations, enabling programmatic management of workspaces, runs, variables, and registry interactions. It eliminates manual UI clicks and CLI commands for repetitive tasks, streamlining IaC workflows and enhancing automation.
Core Features & Use Cases
- Workspace Management: Create, configure, and update Terraform Cloud/Enterprise workspaces programmatically.
- Run Orchestration: Trigger and monitor Terraform runs, including plan and apply operations, with detailed status updates.
- Variable Management: Create, update, and attach variable sets to workspaces for consistent environment-specific configurations.
- Registry Interaction: Search public and private registries for modules, providers, and policies, and retrieve detailed documentation.
- Use Case: Integrate into a CI/CD pipeline to automatically provision new development environments, attach required variable sets, and trigger initial Terraform runs upon new project creation.
Quick Start
Initialize the MCP client, then create a new Terraform Cloud workspace named 'my-new-project' in the 'my-org' organization with auto-apply disabled. Ensure to close the client afterwards.