Terraform Validator
ListedValidates Terraform configuration files against best practices and schema to prevent errors before deployment.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add akin-ozer/cc-devops-skills --skill terraform-validator -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
akin-ozer
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 2 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: www.checkov.io.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
raw.githubusercontent.comsource hostwww.checkov.ioundeclaredWhat it found
- devops-skills-plugin/skills/terraform-validator/scripts/run_checkov.sh:102contacts www.checkov.io
echo "For more information, visit: https://www.checkov.io/" >&2
No pipe-to-shell installers: failed
Runs code fetched at install time in 1 place.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
What it found
- devops-skills-plugin/skills/terraform-validator/references/security_checklist.md:534remote script piped into a shell
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
Pinned to a commit: passed
Scanned akin-ozer/cc-devops-skills at 276af751e6.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 276af751e6
- Scanned
- 10 files, 4,410 lines
About this skill
What it does
The terraform-validator skill validates Terraform configuration files. It checks for syntax errors, missing required attributes, and adherence to best practices, ensuring configurations are ready for deployment. This helps prevent costly mistakes during infrastructure provisioning and management.
When to use it
- Pre-deployment Checks: Validate Terraform code before applying changes to your infrastructure.
- CI/CD Pipelines: Integrate validation into automated pipelines to enforce configuration quality.
- Code Reviews: Use the skill to automatically check Terraform files during code review processes.
- Configuration Audits: Regularly audit existing Terraform configurations for potential issues and compliance.
Key capabilities
- Syntax Validation: Identifies syntax errors in Terraform files.
- Attribute Checks: Ensures all required attributes are present.
- Best Practices Enforcement: Validates against recommended Terraform coding standards (details not specified).
Example prompts
- "Validate this Terraform file and report any errors."
- "Check the
main.tffile for missing attributes." - "Run a configuration audit on all Terraform files in the
/environments/stagingdirectory."
Tips & gotchas
- Requires Terraform to be installed and configured within the environment where the skill is executed.