This issue was originally opened by @reda-dw as hashicorp/terraform#12956. It was migrated here as part of the provider split. The original body of the issue is below.
I have a terraform project to create a 99 virtual machines in Openstack i can not use cloud-init and i must modify the hostname of every machine
the use case : when i start a terraform plan it works for the proxy-instance resource but i need to do that for the 99 machines, i don't like to duplicate the templates data 99 times, and i don't know how to parammetrize the template to be able to apply for all the machines any idea please?
This issue was originally opened by @reda-dw as hashicorp/terraform#12956. It was migrated here as part of the provider split. The original body of the issue is below.
I have a terraform project to create a 99 virtual machines in Openstack i can not use cloud-init and i must modify the hostname of every machine
hostname.tplt :
part of main.tf :
Ressource
the use case : when i start a terraform plan it works for the proxy-instance resource but i need to do that for the 99 machines, i don't like to duplicate the templates data 99 times, and i don't know how to parammetrize the template to be able to apply for all the machines any idea please?