You probably already know it’s not easily possible to loop through a variable of type slice/list within templates, in fact, there are no loop constructs within TF templates at all at this point in time.
so you have followed the basic steps to get a service deployed into kubernetes, let’s say the service is Nginx, because why not …
$ kubectl create deployment ngx --image=nginx:latest
As a follow up to my previous post about how to use terrafrom’s built-in looping mechanisms, I set out to write my own custom “data” provider, in this case a new template renderer that would allow me to use Golang’s text/template instead of…
text/template