Skip to main content

Extendable CFN rules

Project description

Additional CloudFormation Rules

Implemented rules:

E9001 Tags Rule:

It checks whether resources have the desired tags. Example:

templates:
    - tests/resources/templates/**/*.yaml
append_rules:
    - awsjavakit_cfn_rules

configure_rules:
    E9001:
        expected_tags:
            - expectedTag

Suggested Usage:

Create a configuration file .cfnlintrc like the following:

        templates:
          - template.yaml
        append_rules:
            - awsjavakit_cfn_rules
        
        configure_rules:
            E9001:
                expected_tags:
                    - expectedTag


Place the configuration file in the same folder as your template (template.yaml).
Afterwards, run the following commands

        python -m venv .cfn-lint-venv
        . .cfn-lint-venv/bin activate
        pip install cfn-lint
        pip install awsjavakit-cfn-rules
        

Finally run cfn-lint to run the cfn-lint.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awsjavakit_cfn_rules-0.0.23.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

awsjavakit_cfn_rules-0.0.23-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file awsjavakit_cfn_rules-0.0.23.tar.gz.

File metadata

  • Download URL: awsjavakit_cfn_rules-0.0.23.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for awsjavakit_cfn_rules-0.0.23.tar.gz
Algorithm Hash digest
SHA256 5608e9f3758e020f7f04b09f2ac16e1fa1b040bec30cbf780cdd396b556e2321
MD5 bca11de3fea92c26783441a5e6cbeb85
BLAKE2b-256 734c9deca8bbe10182584ec63bd1f5d83276162876a03ec40cdf990b32567c07

See more details on using hashes here.

Provenance

The following attestation bundles were made for awsjavakit_cfn_rules-0.0.23.tar.gz:

Publisher: publish.yml on awsjavakit/awsjavakit-cfn-rules

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file awsjavakit_cfn_rules-0.0.23-py3-none-any.whl.

File metadata

File hashes

Hashes for awsjavakit_cfn_rules-0.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 d477aa354e2986da3ba54d275a610d2ec721083e667c607fb4ba0b6df0435097
MD5 4a9c554631db558c6c0c77c8bc5a465b
BLAKE2b-256 0cdf3ab77cb07bbd6e41845b599e90d2a4a58cd569ace46ab7e0980984cf759e

See more details on using hashes here.

Provenance

The following attestation bundles were made for awsjavakit_cfn_rules-0.0.23-py3-none-any.whl:

Publisher: publish.yml on awsjavakit/awsjavakit-cfn-rules

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page