Metadata-Version: 2.4
Name: sarj-iac-lint
Version: 0.8.0
Summary: Custom Terraform / IaC lint rules — stdlib, pre-commit-friendly.
Project-URL: Homepage, https://code-standards.sarj.ai/rules/iac/
Project-URL: Repository, https://github.com/sarj-ai/standards
Project-URL: Issues, https://github.com/sarj-ai/standards/issues
Author: sarj-ai
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.14
Description-Content-Type: text/markdown

<!-- Generated by `sarj-standards maintain docs sync`; do not edit. -->

# sarj-iac-lint

Custom Terraform / IaC lint rules — stdlib, pre-commit-friendly.

## Package metadata

| Field | Value |
| --- | --- |
| Version | `0.8.0` |
| Registry | PyPI |
| License | MIT |
| Runtime | `Python >=3.14` |

## Command-line reference

| Command | Entrypoint | Help |
| --- | --- | --- |
| `sarj-iac-lint` | `sarj_iac_lint.__main__:main` | `sarj-iac-lint --help` |

## Rule catalog

| Rule | Summary | Default | Autofix |
| --- | --- | --- | --- |
| `iac:no-comment-cruft` | Commented-out Terraform/IaC or a section-banner comment — delete it; code carries the what, comments only the why. | `error` | `none` |
| `iac:require-deletion-protection` | Stateful resource (Cloud SQL, GKE, BigQuery, RDS, ...) must set deletion_protection = true so a stray apply cannot destroy prod data. | `error` | `none` |
| `iac:require-prevent-destroy-on-irreplaceable` | Bucket, secret, or artifact registry must use a supported literal provider-side deletion guard or lifecycle { prevent_destroy = true }. | `error` | `none` |

## Project links

- [Homepage](https://code-standards.sarj.ai/rules/iac/)
- [Issues](https://github.com/sarj-ai/standards/issues)
- [Repository](https://github.com/sarj-ai/standards)

Package metadata is generated from [`pyproject.toml`](pyproject.toml).
