Closed andrew-lee-1089 closed 5 years ago
I think I've solved this myself with:
prov = provisioner("local-exec", command="python configdrive.py ${local_file.user_data_json[count.index].filename} ${var.node_names[count.index]}")
null_resource = resource("null_resource", "configdrive", count=2, provisioner=prov)
Cool module!
I have a terraform file that has the following resource:
Is there anyway to express null_resources via terrascript?
Thanks!