NF checks for the HashiCorp AWS provider
netherframe.lint.hashicorp.aws is an MIT-licensed Netherframe lint pack for
hashicorp/aws. It registers the hashicorp.aws plugin with nf lint.
from nf.lint.hashicorp.aws import lint_aws_app
report = lint_aws_app(app)
report.assert_valid()
The catalogue contains 4,354 default checks: 1,899 policy/argument checks and
2,455 structural schemas. Nine additional checks require explicit opt-in with
aws_rules(include_disabled=True). Public NF_AWS_* IDs, resource scopes and
default settings are pinned in tests/fixtures/nf_coverage.csv. Implementations
follow current service requirements; the contract preserves coverage rather than
historical pass/fail edge cases.
Requirements execute as native Python predicates and resource/graph policies. Field checks combine API formats, bounds and enum values with NF policy settings. Formats use Python character, identifier and structure validators. Structural schemas describe the provider's public configuration interface. Structural facts are pinned to AWS provider 6.73.0; they include types, required/computed flags, nesting and cardinality. They contain no provider implementation code or documentation text. Linting does not start providers, configure credentials, read state, query AWS or load JSON assets. Structural checks do not cover every provider custom validator.
aws_rules(sources=("native",)) selects policies/argument checks;
sources=("schema",) selects structural checks. aws_inventory()["rules"]
contains one NF requirement per row, with its resource scopes and default setting.
The catalogue has no scanner aliases, source-family selectors or compliance-pack
inventories. These reporting/selection interfaces replace the previous import
interfaces; public NF rule IDs remain stable.
lint_tag_policy(..., required_tags=..., provider_config=...) checks an explicit
operator policy, including provider default tags. bucket_prefix_rule(prefix)
provides an optional naming policy. Neither helper invents organizational naming
or tag requirements.
Resource policies follow AWS service and provider configuration requirements. Known violations take precedence over unresolved siblings. Only exact references establish managed graph relationships; external IDs, transformed references and data sources cannot prove them. IAM analysis handles supported static policy forms conservatively. Static checks do not replace service-side authorization, regional availability checks, aggregate quotas or live security assessments. EKS and Lambda support calendars defer when stale or when a future runtime/version is unknown. Calendar dates must be refreshed from the AWS service documentation.
Maintain requirements directly in attribute_data.py, policy_functions.py,
security_policies.py, formats.py, service_requirements.py and naming.py. Update the
coverage contract only for deliberate changes to public requirements. Refresh
provider interface facts with an offline schema export:
uv run python tools/generate_schema.py /tmp/aws-schema.json --version 6.73.0 --provider-binary /path/to/terraform-provider-aws
uv run python ../../tools/scripts/generate_nf_alias_shims.py
The schema compiler discards documentation and retains only interface facts. No scanner definitions, scanner import tools, source snapshots, replay fixtures, third-party license files or attribution inventories are distributed in this package. See LICENSE for the MIT terms. Dependency distributions retain their own licenses.
Metadata
Release files for netherframe.lint.hashicorp.aws 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| netherframe_lint_hashicorp_aws-0.4.0.tar.gz | 568.4 kB | Without provenance | Details for netherframe_lint_hashicorp_aws-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| netherframe_lint_hashicorp_aws-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for netherframe_lint_hashicorp_aws-0.4.0-py3-none-any.whl |
Total release size: 1.2 MB
Release files / netherframe_lint_hashicorp_aws-0.4.0.tar.gz
| Download URL | netherframe_lint_hashicorp_aws-0.4.0.tar.gz |
|---|---|
| Size | 568.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3c03c70a639460ddd08863affa3985cc9b4f8599f16ff4cf5d12ac6ef30d6e6
|
|
BLAKE2b-256 checksum How to use checksums |
2452ec70c29d8c712681a5f389a08912964ccb1978f77402ebe64b5d65675cc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / netherframe_lint_hashicorp_aws-0.4.0-py3-none-any.whl
| Download URL | netherframe_lint_hashicorp_aws-0.4.0-py3-none-any.whl |
|---|---|
| Size | 624.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3828caf977efbd6ef4968294d603a58ccde8a1d621c0b3e97f8894742b51531b
|
|
BLAKE2b-256 checksum How to use checksums |
4da914bf1f783826c7143b55c2fc8881ec80c01512283a7d16e79b1b39fb3e51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for netherframe.lint.hashicorp.aws 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.