terraform

Monitor Terraform Cloud runs and check workspace statuses via API.

Updated Dec 24, 2025
One-click install
npx skills add https://github.com/fzymgc-house/fzymgc-house-skills --skill terraform-fzymgc-house
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform
Source: https://github.com/fzymgc-house/fzymgc-house-skills/tree/main/homelab/skills/terraform
Command: npx skills add https://github.com/fzymgc-house/fzymgc-house-skills --skill terraform-fzymgc-house

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires httpx[socks], pyyaml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines interactions with Terraform Cloud (TFC) and the Terraform Registry, automating common infrastructure management tasks and information retrieval.

Core Features & Use Cases

  • Run Management: Monitor, view logs, and get details for Terraform runs.
  • Workspace Overview: Check the status and configuration of your TFC workspaces.
  • Provider Documentation: Quickly access documentation for Terraform providers and resources directly from the registry.
  • Use Case: When a Terraform run fails, use this Skill to immediately fetch the run logs and identify the error, or to check the status of all your workspaces to ensure your infrastructure is healthy.

Quick Start

Use the terraform skill to view the status of all workspaces in the 'fzymgc-house' organization.

Frequently Asked Questions about terraform

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check Terraform Cloud workspace status programmatically?

You can check Terraform Cloud workspace status by executing Python scripts that interact directly with the TFC API. This approach retrieves workspace configurations and infrastructure health metrics using your TFE_ORG and TFE_TOKEN environment variables for authentication.

What is the best way to fetch logs for a failed Terraform run?

Fetching logs for a failed Terraform run is best handled through direct API interactions with Terraform Cloud. This retrieves detailed run logs to immediately identify configuration errors by querying the specific run instance.

Do I need environment variables to manage Terraform Cloud operations?

Yes, you need the TFE_TOKEN and TFE_ORG environment variables for authentication and organization context. These variables are required to authorize API requests when managing Terraform Cloud runs and workspaces programmatically.

How can I quickly access Terraform provider documentation from the registry?

You can access Terraform provider documentation by querying the Terraform Registry. This allows you to quickly look up resource specifications and usage details directly from the registry without leaving your development environment.

Can I use Python scripts to monitor Terraform Cloud runs?

Yes, you can use Python scripts to monitor Terraform Cloud runs. By supporting deterministic tasks and direct API interactions, Python scripts can automate run monitoring, retrieve logs, and check workspace health.

What are the limitations of managing TFC workspaces without the CLI?

Managing TFC workspaces without the CLI means relying on direct API interactions for log retrieval and run monitoring. This approach requires valid TFE_TOKEN authentication and supports deterministic tasks rather than interactive state manipulation.