policr

Cli tool for testing and provisioning with terraform as provisioner

policr has been deprecated in favour of @umbrellazone/compliance - please upgrade asap!!!
Last updated 3 years ago by lossless .
Apache-2.0 · Original npm · Tarball · package.json
$ cnpm install policr 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.0.1                                ...           latest (3 years ago)

1 Versions

  • 0.0.1 [deprecated]           ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 1
Dependencies (12)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |