Nuform
Nulogy wrapper for Terraform, conform to the opinionated Nulogy workflow.
Prerequisites
- Hashicorp's Consul
- Hashicorp's Terraform
- A stable Rust build develpment environment.
Build
Use cargo in the project root directory:
cargo build
Running tests
To run the unit test suite you can use:
cargo test
To run the integration test suite you'll need S3 credentials configured with a profile called nuform_integration.
To do so use the aws cli:
aws --profile nuform_integration configure
The command will interactively ask for your credentials. You also need to run consul development server, which you can do with the command:
consul agent -dev
After this setup the integration test should be good to go, just use:
cargo run plan integration