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.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.2.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.2.0
File Size Uploaded Provenance Actions
netherframe_lint_hashicorp_aws-0.2.0.tar.gz 567.1 kB Without provenance Details for netherframe_lint_hashicorp_aws-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / netherframe_lint_hashicorp_aws-0.2.0.tar.gz

Download URL netherframe_lint_hashicorp_aws-0.2.0.tar.gz
Size 567.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c8781c7aa06cfff66e2cd44341777761dccafa10849e06a9489026ec8bcf8250
BLAKE2b-256 checksum
How to use checksums
b43d6152d9c8e384f81a8bc82d966fcb4300c07c65788a4dc44531ef2db2c3c9
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.2.0-py3-none-any.whl

Download URL netherframe_lint_hashicorp_aws-0.2.0-py3-none-any.whl
Size 609.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96689dd8969d935566680b39958c43c68a7ef255b54badba609503b9f7deacca
BLAKE2b-256 checksum
How to use checksums
8a39b0ff00366d28f686b4875b41bcd3100ccb7fb01479fb0656cb31b31e4358
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.2.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