Skip to main content

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.74.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.74.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.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netherframe.lint.hashicorp.aws 0.5.0
File Size Uploaded Provenance Actions
netherframe_lint_hashicorp_aws-0.5.0.tar.gz 570.0 kB Without provenance Details for netherframe_lint_hashicorp_aws-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for netherframe.lint.hashicorp.aws 0.5.0
File Interpreter ABI Platform Actions
netherframe_lint_hashicorp_aws-0.5.0-py3-none-any.whl Python 3 none any Details for netherframe_lint_hashicorp_aws-0.5.0-py3-none-any.whl

Total release size: 1.2 MB

Release files / netherframe_lint_hashicorp_aws-0.5.0.tar.gz

Download URL netherframe_lint_hashicorp_aws-0.5.0.tar.gz
Size 570.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a5db6187443beabff5bea780800f2b08ec1b7960cb9e1e66b64cdc49f8ba2b53
BLAKE2b-256 checksum
How to use checksums
b7920bdd15738a28ed0b2096f073edcc9d6c9c7fac4a6e7ebd55a0c527d5c5b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.5.0-py3-none-any.whl

Download URL netherframe_lint_hashicorp_aws-0.5.0-py3-none-any.whl
Size 626.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34fe7d30b7263b01cad52deec6b65d028a53de4ccfddf503ab76049d6da5b3d2
BLAKE2b-256 checksum
How to use checksums
4f7590d535f2f204a8a00746ec5d0154a59a40c13d23281e8d25b8d4d10a9da3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.5.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page