zip-tf

Package Terraform code into a timestamped ZIP with regenerated ORM schema.

3|2|Updated Sep 25, 2025
One-click install
npx skills add https://github.com/oci-ai-incubations/ai-accelerator-starter-packs --skill zip-tf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zip-tf
Source: https://github.com/oci-ai-incubations/ai-accelerator-starter-packs/tree/main/.claude/skills/zip-tf
Command: npx skills add https://github.com/oci-ai-incubations/ai-accelerator-starter-packs --skill zip-tf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates packaging of Terraform code into a clean, timestamped ZIP, regenerates the ORM schema, and excludes build artifacts and sensitive tfvars to enable safe sharing and deployment.

Core Features & Use Cases

  • Create a timestamped ZIP of the ai-accelerator-tf directory, ready for distribution or archiving.
  • Regenerate the ORM schema and prune sensitive variables to ensure secure artifacts.
  • Verify the output contains no secrets or disallowed files and save to the zipped/ directory.

Quick Start

Use the zip-tf skill to package the Terraform repository into a timestamped ZIP in the zipped/ directory.

Frequently Asked Questions about zip-tf

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

FAQPage Schema
How do I package Terraform code into a ZIP file for safe deployment?

Packaging Terraform code into a safe ZIP involves creating a clean, timestamped archive while excluding build artifacts and sensitive tfvars files. This process regenerates the ORM schema and verifies the output to guarantee no secrets remain before saving to the zipped/ directory.

What is the best way to exclude sensitive tfvars when zipping Terraform projects?

Excluding sensitive tfvars during Terraform zipping is handled automatically by pruning these files before archiving. The packaging process verifies the final ZIP artifact to ensure no disallowed files or secrets are present in the output directory.

How does regenerating the ORM schema work when archiving Terraform assets?

Regenerating the ORM schema during Terraform archiving updates the schema definition prior to creating the ZIP file. This step ensures the packaged Terraform repository contains a freshly generated, accurate schema aligned with the current infrastructure code.

Can I automate Terraform verification steps before sharing the ZIP archive?

Automating Terraform verification before sharing is achieved by running safety checks that scan the packaged ZIP for secrets and disallowed files. This automated verification confirms the artifact is clean and safe for distribution or deployment.

Does packaging Terraform repositories remove build artifacts from the ZIP?

Packaging Terraform repositories removes build artifacts from the final ZIP by cleaning the directory before archiving. This ensures the timestamped output contains only the necessary, verified Terraform assets without leftover build files.

Why should I use a timestamped ZIP for Terraform distribution?

Using a timestamped ZIP for Terraform distribution provides clear version tracking for your infrastructure archives. It organizes packaged assets in the zipped/ directory with unique names, simplifying rollback and audit processes during deployment.