assert
kchugalinskiy/assert/null
Terraform assertion module
Introduction Assert is a terraform assertion utility. As far you may know currently there is no any invariant processing support in Terraform itself or anywhere in its community modules. This library was introduced to fullfill this space. Moreover: this library may be used in your custom modules unit testing. General programming rule is that each time you assume something you must write down your assumption in code. Otherwise later or earlier you'll get some problems. Prerequisites At the moment Windows OS is not supported. There are no any known terraform limitations within concise versions. Please inform me in case you find some version-specific issues. Basic usage Basic usage is pretty simple: you create check module, you pass condition variable and you get error if it doesn't interpola
| Name | Type | Description | Default |
|---|---|---|---|
| condition | any | Boolean condition which is assumed to be true | required |