Skip to main content

My CFN rules

Project description

Additional CloudFormation Rules

Implemented rules:

E9001 Tags Rule:

It checks whether resources (currently only Lambda functions) 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.8.tar.gz (2.6 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.8-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: awsjavakit_cfn_rules-0.0.8.tar.gz
  • Upload date:
  • Size: 2.6 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.8.tar.gz
Algorithm Hash digest
SHA256 b55d8fd4bb521ddb24b8ab6c0da558442efd3e5d8931d0cc2307bc818415f7ac
MD5 caca466bfc1f72f5cd32156f4a19017c
BLAKE2b-256 07fcc538d4e7902d0057040400789f57123d405d1ecd6e182a2328edec014cdd

See more details on using hashes here.

Provenance

The following attestation bundles were made for awsjavakit_cfn_rules-0.0.8.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.8-py3-none-any.whl.

File metadata

File hashes

Hashes for awsjavakit_cfn_rules-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8a9ecc95c8c1b533c9eb2cad4c3dc1fef83e5535db025332a2023c0c2c197716
MD5 3671e9be99081d040a4b59189f24a88f
BLAKE2b-256 9d469e906bce28aa7a84bd15d3fd82a2397856623a1e1574ee6f8a53eb6bc802

See more details on using hashes here.

Provenance

The following attestation bundles were made for awsjavakit_cfn_rules-0.0.8-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