terraformtest icon indicating copy to clipboard operation
terraformtest copied to clipboard

Ability to unit test variables also

Open thiagonache opened this issue 3 years ago • 0 comments

Currently we can only test values but we may want to test some variables.

{
  "variables": {

  }
}

The transform function should also store the values inside of this block into the type Resource which will need an extra field probably called Variables which is going to be a map[string]string.

The functions Contains and Equal should be modified to consider the new data.

Please, also add respective tests for the new function 😄

thiagonache avatar Mar 11 '21 15:03 thiagonache