danzarov | out of curiosity, about that "Format for 'users' key must be a comma separated string or a dictionary or a list and not NoneType" you got when using the "set list" powersj. I discovered a way to make it works | 01:08 |
---|---|---|
danzarov | since i have this variable called usernamelist that comes from terraform as a string | 01:09 |
danzarov | i just do this: | 01:09 |
danzarov | {% set list1 = "${usernamelist}".split(',') %} | 01:09 |
danzarov | then i can iterate just like we were doing | 01:09 |
danzarov | {% for name in list1 %} | 01:09 |
danzarov | :D | 01:09 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!