terraform-skill
Build Safer Terraform and OpenTofu Workflows
Terraform changes can expose secrets, replace resources, or corrupt shared state. This skill diagnoses those risks and provides version-aware implementation and validation guidance.
Do not auto-install this skill.
The canonical policy requires operator review before any installation action.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "terraform-skill" from https://skillstore.io/skills/antonbabenko-terraform-skill.md and its manifest at https://skillstore.io/api/skills/antonbabenko-terraform-skill/manifest. Verify the artifact. Do not auto-install. Inspect the skill and report your findings, then wait for an operator or manual installation decision.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "terraform-skill". A module changed from count to for_each and the plan replaces production instances.
Expected outcome:
- Risk: resource identity churn can cause unintended replacement.
- Recommendation: map old addresses to stable keys with migration blocks.
- Validation: review a saved plan and confirm zero unexpected destroys before approval.
Using "terraform-skill". A team wants Terraform to read a database password from a standard variable.
Expected outcome:
- Risk: sensitive variables remain in Terraform state even when display is masked.
- Recommendation: use supported write-only or ephemeral mechanisms, or keep secret material outside Terraform.
- Validation: inspect the plan and state handling without printing the secret.
Using "terraform-skill". A CI job plans again during apply after the pull request plan was approved.
Expected outcome:
- Risk: the applied configuration can differ from the reviewed plan.
- Recommendation: store the approved plan securely and apply that exact artifact.
- Validation: require protected-environment approval and verify artifact provenance.
Security Audit
CriticalThe skill has defensive intent and requires reviewed plans, confirmation for destroy operations, and state-secret safeguards. Most static matches are Markdown syntax, Terraform identifiers, placeholders, or labeled examples rather than executable threats. Confirmed risks are an unverified pipe-to-shell installer, its mutable source URL, fragile xargs deletion, an unpinned action, and direct auto-approved apply examples.
Confirmed security concerns (3)
Capability review items (2)
These are real local capabilities that may be expected for this skill, so they require review but are not counted as confirmed malicious behavior.
Risk Factors
โ๏ธ External commands (50)
๐ Filesystem access (28)
๐ Env variables (20)
โก Contains scripts (2)
๐ Network access (19)
Detected Patterns
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/antonbabenko-terraform-skill/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/antonbabenko-terraform-skill?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/antonbabenko-terraform-skill?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/antonbabenko-terraform-skill/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/antonbabenko-terraform-skill.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
antonbabenko. (2026). terraform-skill security audit report (audit version 1) [Author version 1.17.1]. Skillstore. https://skillstore.io/skills/antonbabenko-terraform-skill/audits/1BibTeX citation
@techreport{antonbabenko-antonbabenko-terraform-skill-2026,
author = {antonbabenko},
title = {terraform-skill security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/antonbabenko-terraform-skill/audits/1},
note = {Author version 1.17.1}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "terraform-skill security audit report (audit version 1)"
version: "1.17.1"
type: report
authors:
- name: "antonbabenko"
date-released: "2026-08-13"
url: "https://skillstore.io/skills/antonbabenko-terraform-skill/audits/1"
identifiers:
- type: other
value: "skillstore:antonbabenko-terraform-skill:audit:1"
description: "Skillstore immutable audit report identifier"
Compare variants
2 installable variantsEach author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
sickn33-terraform-skill
2026-08-21
antonbabenko-terraform-skill
2026-08-21
Skillstore Score
Why this score Evidence Confidence: LowWhat You Can Build
Refactor a Shared Module
Plan address-preserving changes, add migration blocks, and validate that production resources are not replaced.
Build a Controlled Delivery Pipeline
Create validation, testing, policy, plan, approval, and exact-plan apply stages for infrastructure changes.
Recover and Harden Remote State
Investigate locks or drift, select a recovery path, and document backup and rollback evidence.
Try These Prompts
Review this Terraform configuration for correctness and safety. State runtime assumptions, identify risks, propose focused changes, and provide validation steps.
Design a reusable [provider] module for [service]. Target [Terraform or OpenTofu version]. Include typed inputs, stable outputs, tests, security controls, and usage guidance.
Design a CI/CD workflow for this repository. Separate validation, testing, security, plan, approval, and apply stages. Apply only the reviewed plan artifact.
Diagnose this [lock, drift, migration, or corruption] incident. Use the supplied backend details and logs to create evidence-preserving recovery and rollback procedures.
Best Practices
- Provide the runtime, exact version, providers, backend, execution path, and environment criticality.
- Review saved plans and retain rollback evidence before destructive or state-mutating operations.
- Pin runtimes, providers, modules, actions, and lockfiles according to the environment risk.
Avoid
- Do not apply directly to production without a reviewed plan artifact and approval.
- Do not assume sensitive variables keep secret values out of state.
- Do not rename resource addresses blindly or use list indexes as durable identity.
Frequently Asked Questions
Does this skill support OpenTofu?
Can it write complete Terraform modules?
Will it run terraform apply automatically?
How does it handle secrets?
Which testing approaches does it cover?
Can it recover corrupted Terraform state?
Developer Details
Author
antonbabenkoLicense
Apache-2.0
Author version
v1.17.1
Skillstore revision
r1
Ref
68046dfc1c93b48a04e43344644ad77d3a895012
Maintenance freshness
8/13/2026
Usage
0 downloads ยท 0 views
File structure
๐ references/
๐ ci-cd-workflows.md
๐ code-patterns.md
๐ module-patterns.md
๐ quick-reference.md
๐ state-management.md
๐ SKILL.md