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.9.tar.gz (2.7 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.9-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: awsjavakit_cfn_rules-0.0.9.tar.gz
  • Upload date:
  • Size: 2.7 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.9.tar.gz
Algorithm Hash digest
SHA256 83018e47dad8a8bbb0514da57e6db320bb5a5d72235e79f56c0285a6b2369f84
MD5 0d06dcaceeef0216e2b9dbd9dcb819a0
BLAKE2b-256 df8378842f7a1a69e256e12f4f40023c5780670134f0f501af9069f4c58d4f91

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awsjavakit_cfn_rules-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 8f8263938fad82bd13d98cd96d48ee493e5b9c6bd0d78b3e413090a8295adf29
MD5 da313e13dcea017c418cce78f9042d4a
BLAKE2b-256 59c998bf9ab034684afd9a54042bb6593345d80e2bd161e19000d515290f77ca

See more details on using hashes here.

Provenance

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