This package has been deprecated

Author message:

policr has been deprecated in favour of @umbrellazone/compliance - please upgrade asap!!!

policr
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Policr

Policr is a continuous compliance tool for Cloud Infrastructure. This tool helps to implement Test Driven Development for Infrastructure code. Current support target is AWS provider and Terraform and Cloudformation provisioning tools

Build Status codecov

Usage

tf-plan

To check terraform scripts locally without deploying it to the provider, use the plan mode. Therefore one has to write js tests using mocha testing and chai assertions.

See examples in the test branch: Tests

tf-state

To check an actual deployment on the provider using the terraform state, one can use the state mode. Tests are also based on mocha testing and chai assertions and are fully compatible with the unit tests from plan mode.

To check terraform scripts locally without deploying it to the provider, user the plan mode. Therefore one has to write js tests using mocha testing and chai assertions.

See examples in the test branch: Tests

aws

todo

cf

todo

CLI

Usage:
   policr.js [OPTIONS] <command> [ARGS]
 
 Options:
   -t, --tests STRING     tests
   -w, --workdir [STRING] workdir (Default is .)
   -h, --help             Display help and usage details
 
 Commands:
   tf-plan, tf-state, aws, cf

Contributing

Contributions to the code, examples, documentation, etc, are very much appreciated. For more information, see the contribution guidelines.

Report issues and bugs directly in this GitHub project.

Credits

This is a collaboration between the Scigility and Developers of Swiss Postal IT.

License

The project is licensed under the Apache License, version 2.0.

Package Sidebar

Install

npm i policr

Weekly Downloads

2

Version

0.0.1

License

Apache-2.0

Last publish

Collaborators

  • lossless