Skip to main content

auto terraform review

Project description

Terraform automatic reviewer

terraform scripts checker.
This package helps you to review your tf script.
(ex: confirm add logging rule to all s3 bucket)

Installation

$ pip install tf_cop

Usage

do review

pass terraform root path & review_book root path

import tf_cop

if __name__ == '__main__':
    test = tf_cop.TfCop()
    test.tf_review("./test", "./review_book_default")

get output

    ptint(test.result())
    ptint(test.result_summary())
    ptint(test.program_error_log())

Review_book yaml rule

Testing

Author

ys-tydy

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

tf_cop-0.0.2.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file tf_cop-0.0.2.tar.gz.

File metadata

  • Download URL: tf_cop-0.0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.1

File hashes

Hashes for tf_cop-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2e982cc8e463f56df7f5099dbbc6bd5db0975e01933025aebd5c7b1a8e63363b
MD5 1c8f10c1c730c0921ade88624af8fbfa
BLAKE2b-256 4af4878e765af243fa438cf648072a9f977418039a1e548c9e1ffa1571d98cdd

See more details on using hashes here.

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