terraform-conventions

Enforce Provectus conventions for Terraform and OpenTofu module structure and testing.

10|17|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/provectus/awos-recruitment --skill terraform-conventions-provectus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform-conventions
Source: https://github.com/provectus/awos-recruitment/tree/main/registry/skills/terraform-conventions
Command: npx skills add https://github.com/provectus/awos-recruitment --skill terraform-conventions-provectus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and enforces best practices for writing clean, secure, and maintainable Terraform and OpenTofu code, ensuring consistency and reducing errors in your Infrastructure as Code.

Core Features & Use Cases

  • Enforces Provectus Conventions: Strict version pinning, naming standards, and code structure.
  • Testing Strategies: Guidance on choosing and implementing testing approaches (native, Terratest).
  • Security & Compliance: Integrates security scanning and compliance checks into your workflow.
  • Use Case: When starting a new Terraform project or refactoring an existing one, use this Skill to ensure all configurations adhere to enterprise-grade standards for reliability and security.

Quick Start

Use the terraform-conventions skill to review the best practices for structuring Terraform modules.

Frequently Asked Questions about terraform-conventions

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

FAQPage Schema
What are the best practices for structuring Terraform modules for enterprise projects?

Terraform module structure conventions enforce strict version pinning, standardized resource naming, and specific block ordering to ensure maintainable infrastructure as code. This approach reduces configuration errors and guarantees consistency across large enterprise deployments.

How do I integrate security scanning into my OpenTofu CI/CD workflow?

Security scanning integrates directly into OpenTofu CI/CD workflows by applying opinionated conventions that mandate compliance checks during pipeline execution. This process catches vulnerabilities early and ensures infrastructure deployments meet enterprise security standards automatically.

Does this conventions skill apply to both Terraform and OpenTofu development?

Yes, the conventions skill explicitly applies to both Terraform and OpenTofu development. It provides standardized patterns for resource naming, block ordering, and testing methodologies that work identically across both infrastructure as code tools.

What is the best way to test infrastructure as code configurations?

Testing infrastructure as code configurations involves choosing between native testing strategies and Terratest implementations. The best approach depends on your module complexity, with standardized conventions guiding the selection and implementation of appropriate testing methodologies.

Why do I need strict version pinning for infrastructure as code modules?

Strict version pinning for infrastructure as code modules prevents unexpected breaking changes from upstream provider updates. Enforcing this convention ensures your Terraform and OpenTofu deployments remain reproducible and stable across different enterprise environments.