riskiwah / validiac

ValidIaC combines the best open-source tools to help ensure Infrastructure-as-Code best practices, hygiene & security.

Home Page:https://validiac.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

validiac

About this project

ValidIaC combines the best open-source tools to help ensure Terraform best practices, hygiene & security.

Capabilities:

  • Lint - Lint your Terraform HCL files with tflint
  • Secure - Scan your Terraform templates for security vulnerabilities with tfsec
  • Cost - Get a breakdown of your cloud costs with infracost
  • Map - Chart a map of your cloud infrastructure with inframap

ValidIaC is an open-source solution, so please feel free to add more capabilities or tools :)

A free online instance of ValidIaC is available for anyone to use at https://www.validiac.com. The program can both be deployed as an AWS Lambda function, or be used directly from the command line.

Prerequisites


  • AWS CLI with access to your AWS
  • Yarn
  • NPM
  • Serverless CLI
  • Golang v1.17

CLI/Local Server Usage

The validiac binary can be used in three different ways:

  1. As a CLI utility.
  2. As an HTTP server.
  3. As an AWS Lambda handler.

To compile the binary:

  1. Download dependencies with make deps
  2. Build validiac with make build
  3. Run validiac: bin/validiac --help

Other make tasks:

  • run unit tests: make test
  • run static code analysis: make lint (requires golangci-lint)
  • clean validiac binary: make clean
  • clean all binaries, including dependencies: make clean-all

Upgrading Dependency Versions

The versions used for the four base tools are defined in the Makefile. Simply change the version number of the relevant tool and rebuild (the validiac binary will need to be rebuilt as well).

About

ValidIaC combines the best open-source tools to help ensure Infrastructure-as-Code best practices, hygiene & security.

https://validiac.com

License:Other


Languages

Language:TypeScript 60.8%Language:Go 24.5%Language:HTML 6.0%Language:Makefile 4.1%Language:CSS 2.6%Language:Dockerfile 1.2%Language:HCL 0.8%