Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schrodinger/infra-tester
YAML configuration based infrastructure testing.
https://github.com/schrodinger/infra-tester
golang infrastructure infrastructure-as-code terraform testing yaml-configuration
Last synced: 3 months ago
JSON representation
YAML configuration based infrastructure testing.
- Host: GitHub
- URL: https://github.com/schrodinger/infra-tester
- Owner: schrodinger
- License: mit
- Created: 2023-03-09T10:24:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-26T12:36:38.000Z (6 months ago)
- Last Synced: 2024-09-27T19:21:00.992Z (3 months ago)
- Topics: golang, infrastructure, infrastructure-as-code, terraform, testing, yaml-configuration
- Language: Go
- Homepage: https://schrodinger.github.io/infra-tester/
- Size: 976 KB
- Stars: 2
- Watchers: 8
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# infra-tester
Run tests on Terraform code with just a configuration. It hides the boilerplate code for common infrastructure test patterns and lets you focus on defining the tests using simple YAML configurations.
## Introduction
Testing Infrastructure as Code (**IaC**) can be very complex. Usually, you pick one of the several testing frameworks or libraries available in your programming language of choice such as Go or Python. The vast majority of the infrastructure (unit) tests mostly make sure:
- A module deploys without any failure for valid inputs.
- Guard rails work as expected in catching invalid inputs or states.
- The outputs of a module are as expected.With *infra-tester*, these could be achieved without writing tests in a programming language such as Go or Python. You can define the tests using [**YAML**](https://yaml.org/) configuration. This reduces the barrier in testing infrastructure by not having to worry about maintaining lots of code just for testing. *infra-tester* provides several assertions that you can use and we'll add even more as more people use it.
## Documentation
You can find extensive documentation on *infra-tester* [here](https://schrodinger.github.io/infra-tester/).