terratest

Terratest - How to check for terraform output


Is it possible to have terratest run an assertion for a value to exist, instead of the standard assertion that the value = expected?


Solution

  • You can use func NotEmpty, remember that Terratest is just a wrapper of Golang.