terraspace-terrafile

Declare and manage external Terraform modules in a Terrafile for Terraspace projects.

Updated Jul 7, 2026
One-click install
npx skills add https://github.com/voidrot/agents --skill terraspace-terrafile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraspace-terrafile
Source: https://github.com/voidrot/agents/tree/main/skills/infrastructure/terraspace-terrafile
Command: npx skills add https://github.com/voidrot/agents --skill terraspace-terrafile

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the declaration, management, and update of Terraform modules for use within the Terraspace ecosystem.

Core Features & Use Cases

  • Terrafile Management: Declares external Terraform modules in a Terrafile.
  • Module Fetching and Updating: Handles module retrieval and updates through the terraspace bundle and bundle update commands.
  • Shared Module Path: Provides guidance on referencing modules within stacks to ensure conflicts are avoided.
  • Cache Management: Offers commands to clean up Terraspace cache to free up space.
  • Use Case: Imagine you have a Terraspace project that uses multiple external Terraform modules. This Skill will help you keep the modules up-to-date and organized within your project.

Quick Start

Add Terraform modules to your Terrafile using this skill, then fetch the modules with the command 'terraspace bundle'.

Frequently Asked Questions about terraspace-terrafile

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

FAQPage Schema
How do I manage external Terraform modules in a Terraspace project?

To manage external Terraform modules in a Terraspace project, declare them in a Terrafile and fetch the sources using the terraspace bundle command. This streamlines module configuration and ensures external dependencies are organized.

What is the best way to update Terraform modules declared in a Terrafile?

Updating Terraform modules declared in a Terrafile is handled by running the terraspace bundle update command. This retrieves the latest versions of the declared external modules for your Terraspace configuration.

How do I reference shared Terraform modules across Terraspace stacks without conflicts?

Referencing shared Terraform modules across Terraspace stacks requires using the correct shared module paths. This practice ensures that module references do not conflict and configurations remain consistent throughout the project.

Can I clean up Terraspace cache to free up disk space during module management?

Yes, you can clean up Terraspace cache to free up disk space. The provided tools include commands specifically designed to clear the cache generated during Terraform module fetching and Terraspace operations.

Do I need a Terrafile to organize external Terraform modules for Terraspace?

Yes, a Terrafile is required to declare and organize external Terraform modules for Terraspace. It acts as the central manifest for defining module sources before fetching them with terraspace bundle.