terrateam-usage-guide

Automate Terrateam GitOps workflows for Terraform and OpenTofu with locking and policy enforcement.

4|1|Updated Dec 9, 2025
One-click install
npx skills add https://github.com/stakpak/community-paks --skill terrateam-usage-guide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terrateam-usage-guide
Source: https://github.com/stakpak/community-paks/tree/main/terrateam-usage-guide
Command: npx skills add https://github.com/stakpak/community-paks --skill terrateam-usage-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Terrateam provides a unified approach to automating Terraform/OpenTofu workflows within GitOps, simplifying configuration, access control, and policy enforcement while ensuring safe, auditable deployments.

Core Features & Use Cases

  • GitOps-driven plan/apply for Terraform/OpenTofu with automatic locking and policy checks on PRs.
  • OIDC-based authentication for cloud providers to avoid static credentials.
  • Drift detection, cost estimation, and security scanning integrated into PR workflows.
  • Flexible directory mappings, multi-workspace support, and per-environment governance.

Quick Start

Configure Terrateam by creating a .terrateam/config.yml in your repository root and trigger a sample plan via a pull request.

Frequently Asked Questions about terrateam-usage-guide

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

FAQPage Schema
How do I automate Terraform plan and apply workflows through GitHub pull requests?

Terraform GitOps automation triggers plan and apply workflows directly from pull requests. This Skill configures Terrateam to automatically lock environments, enforce policies, and execute Terraform or OpenTofu operations safely upon PR merge.

Can I use OIDC authentication for cloud providers instead of static credentials in Terraform GitOps?

OIDC authentication for Terraform GitOps eliminates static cloud credentials. This Skill configures Terrateam to use OIDC-based authentication, securely connecting to cloud providers during automated plan and apply workflows without exposing long-lived secrets.

How does drift detection work with Terraform in a GitOps workflow?

Terraform drift detection in GitOps identifies unmanaged infrastructure changes. This Skill automates Terrateam drift reconciliation, continuously comparing your live infrastructure state against your Terraform code and integrating alerts directly into your pull request workflows.

Does this approach support managing multiple Terraform workspaces across different environments?

Managing multiple Terraform workspaces across staging and production is fully supported. This Skill leverages flexible directory-to-tag mappings and per-environment governance within Terrateam to isolate and orchestrate distinct workspace configurations.

What is the best way to add cost estimation and security scanning to Terraform pull requests?

Adding cost estimation and security scanning to Terraform PRs requires integrated workflow checks. This Skill automates these analyses within Terrateam, evaluating financial impact and security vulnerabilities directly in the pull request before any apply occurs.

Do I need to create specific configuration files to start automating Terraform with Terrateam?

Automating Terraform with Terrateam requires creating a `.terrateam/config.yml` file in your repository root. This Skill defines the GitOps configuration, directory mappings, and workflow logic in YAML, optionally extending behavior with scripts and assets directories.