Skip to main content

My CFN rules

Project description

Some custom Cloud Formation rules

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.

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

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.5.tar.gz (3.2 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.5-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for awsjavakit_cfn_rules-0.0.5.tar.gz
Algorithm Hash digest
SHA256 8bd9cda484b4f228831deee590787851579a4a67c26a9d6a8405e4001284008e
MD5 9f989d0a6c280ab06c5f2f75d58c2233
BLAKE2b-256 e8643700e1b39e6244ddce8c4d92c0654fc314e25e896087fde72a4ba5196011

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awsjavakit_cfn_rules-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 127c787c71a489a41d11ba8bb44dcdb3c531376bd08da4212dadac3983a48319
MD5 304a8602ae8f9bd34a9b4d79c1f0028f
BLAKE2b-256 402a9e93aec33f57ac13e16fef0b494aa5c3e31f5b336defd01a38b9e706ad98

See more details on using hashes here.

Provenance

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