Skip to main content

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: awsjavakit_cfn_rules-0.0.16.tar.gz
  • Upload date:
  • Size: 3.3 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.16.tar.gz
Algorithm Hash digest
SHA256 20a0e8f6bb98c755691e7230910ab30c9597b180943ef67f1f5603f5c3049267
MD5 8be70baecb2f0d0c79e04abb415d66dc
BLAKE2b-256 e9880d0d82466e3ae06e45632a433ac36a541422755e31153457db383f9984ba

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awsjavakit_cfn_rules-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 219fb6ad056f71d3d23d8f2177cf9fa72d968ee4f9b795edd622d609e685dee1
MD5 61b8932453a4e056c071ab78fb4e607b
BLAKE2b-256 bd526e93ce63aa6d2bcff49eb4c1defa4f899f83ae4d2e84760ad3b68cecd224

See more details on using hashes here.

Provenance

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