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.
请勿自动安装此 Skill。
权威策略要求在执行任何安装操作前由操作人员审查。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
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.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“terraform-skill”。 A module changed from count to for_each and the plan replaces production instances.
预期结果:
- 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.
正在使用“terraform-skill”。 A team wants Terraform to read a database password from a standard variable.
预期结果:
- 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.
正在使用“terraform-skill”。 A CI job plans again during apply after the pull request plan was approved.
预期结果:
- 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.
安全审计
严重The 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.
已确认安全问题 (3)
能力复核项 (2)
这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。
风险因素
⚙️ 外部命令 (50)
📁 文件系统访问 (28)
🔑 环境变量 (20)
🌐 网络访问 (19)
检测到的模式
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/antonbabenko-terraform-skill/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/antonbabenko-terraform-skill?utm_source=security_passport_badge)HTML 徽章
<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>嵌入卡片
<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>学术引用 (APA · BibTeX · CFF)
APA 引用
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 引用
@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"
比较变体
2 个可安装变体每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
antonbabenko-terraform-skill
2026-09-09
Skillstore 评分
评分依据 证据置信度: 低你能构建什么
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.
试试这些提示
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.
最佳实践
- 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.
避免
- 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.
常见问题
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?
开发者详情
作者
antonbabenko许可证
Apache-2.0
作者版本
v1.17.1
Skillstore 修订
r1
引用
68046dfc1c93b48a04e43344644ad77d3a895012
维护新鲜度
2026/8/13
使用量
0 次下载 · 0 次浏览