May 31, 2021
Correct function does this essentially:
string = templatefile(filepath, map)
So I declare a map with the keys to values I want to replace in the template, and the filepath. For the filepath I now tuck these in the tf module I am creating under templates directory. The resulting string variable I pass to the helm_release resource as an item in the values str list.