<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Deploying multiple vSphere VMs with Terraform	</title>
	<atom:link href="https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/feed/" rel="self" type="application/rss+xml" />
	<link>https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/</link>
	<description>by Emil</description>
	<lastBuildDate>Mon, 03 Aug 2020 20:10:31 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>
		By: Emil		</title>
		<link>https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/#comment-2145</link>

		<dc:creator><![CDATA[Emil]]></dc:creator>
		<pubDate>Mon, 03 Aug 2020 20:10:31 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=320#comment-2145</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/#comment-2144&quot;&gt;S G Gopi&lt;/a&gt;.

Hi!

Unfortunately, I don&#039;t think I can help you. :( I&#039;ve not been in vSphere for a long time – about two years at least. So I&#039;m not familiar with current modules. :(]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/#comment-2144">S G Gopi</a>.</p>
<p>Hi!</p>
<p>Unfortunately, I don&#8217;t think I can help you. 🙁 I&#8217;ve not been in vSphere for a long time – about two years at least. So I&#8217;m not familiar with current modules. 🙁</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: S G Gopi		</title>
		<link>https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/#comment-2144</link>

		<dc:creator><![CDATA[S G Gopi]]></dc:creator>
		<pubDate>Mon, 03 Aug 2020 13:04:26 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=320#comment-2144</guid>

					<description><![CDATA[Hello Emil,

I am actually trying to deploy the linux servers into vpshere vcenter through terraform script,But i have query when i want to deploy the multi servers into  multi compute cluster in vcenter. like for 3 servers into 3 clusters like Round Robbin method. Can we achieved in terraform script]]></description>
			<content:encoded><![CDATA[<p>Hello Emil,</p>
<p>I am actually trying to deploy the linux servers into vpshere vcenter through terraform script,But i have query when i want to deploy the multi servers into  multi compute cluster in vcenter. like for 3 servers into 3 clusters like Round Robbin method. Can we achieved in terraform script</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Emil		</title>
		<link>https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/#comment-1407</link>

		<dc:creator><![CDATA[Emil]]></dc:creator>
		<pubDate>Sun, 15 Sep 2019 09:37:47 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=320#comment-1407</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/#comment-1376&quot;&gt;Sara&lt;/a&gt;.

I&#039;m afraid, that I&#039;m a little bit out of date with Terraform and vSphere. :( But if I understand well, first you have for example loop over 

count = 2

and before the second attempt, you change that to

count = 5

right? Because if you try to do something like this:

1. Set count to 3.
2. Run terraform apply
3. Wait to the end
4. Run terraform apply one more time WITHOUT changing count

then it doesn&#039;t work in fact. And it won&#039;t work. But if you change the value of count, then I don&#039;t have any idea. :(]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/#comment-1376">Sara</a>.</p>
<p>I&#8217;m afraid, that I&#8217;m a little bit out of date with Terraform and vSphere. 🙁 But if I understand well, first you have for example loop over </p>
<p>count = 2</p>
<p>and before the second attempt, you change that to</p>
<p>count = 5</p>
<p>right? Because if you try to do something like this:</p>
<p>1. Set count to 3.<br />
2. Run terraform apply<br />
3. Wait to the end<br />
4. Run terraform apply one more time WITHOUT changing count</p>
<p>then it doesn&#8217;t work in fact. And it won&#8217;t work. But if you change the value of count, then I don&#8217;t have any idea. 🙁</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sara		</title>
		<link>https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/#comment-1376</link>

		<dc:creator><![CDATA[Sara]]></dc:creator>
		<pubDate>Sat, 31 Aug 2019 23:42:03 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=320#comment-1376</guid>

					<description><![CDATA[Hi, In vsphere i was able to create an multiple vm&#039;s in the first attempt of &quot;terraform apply&quot; , when i&#039;m trying to create a 3 more vm&#039;s in the second attempts , during the 2nd time terraform not picks the new available ip&#039;s automatically from vsphere , however it says no changes required ( since it&#039;s refers existing vm&#039;s) appreciate of any help on this issue]]></description>
			<content:encoded><![CDATA[<p>Hi, In vsphere i was able to create an multiple vm&#8217;s in the first attempt of &#8220;terraform apply&#8221; , when i&#8217;m trying to create a 3 more vm&#8217;s in the second attempts , during the 2nd time terraform not picks the new available ip&#8217;s automatically from vsphere , however it says no changes required ( since it&#8217;s refers existing vm&#8217;s) appreciate of any help on this issue</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Emil		</title>
		<link>https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/#comment-1067</link>

		<dc:creator><![CDATA[Emil]]></dc:creator>
		<pubDate>Thu, 13 Jun 2019 16:43:09 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=320#comment-1067</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/#comment-1065&quot;&gt;M Rao&lt;/a&gt;.

Hi! Unfortunately, I&#039;ve not been working with Terraform and vSphere anymore. :( As far as I know, there were many changes to vSphere provider, and the network is one of the most changed parts. I&#039;m afraid that my configs are not valid anymore. As far as I remember, ipv4_gateway is not a part of the network_interface section anymore. 

Maybe something like this will help? But I don&#039;t have a possibility to test that configuration:

&lt;code&gt;clone {
    template_uuid = &quot;${data.vsphere_virtual_machine.template.id}&quot;

    customize {
      linux_options {
        host_name = &quot;TEST-${count.index +1}&quot;
        domain    = &quot;test.internal&quot;
      }

      network_interface {
       ipv4_address       = &quot;10.20.30.${40 + count.index}&quot;
       ipv4_netmask       = &quot;24&quot;       
    }
     ipv4_gateway       = &quot;10.20.30.1&quot;
  }
}&lt;/code&gt;

Please see the vSphere Provider documentation: https://www.terraform.io/docs/providers/vsphere/r/virtual_machine.html#cloning-and-customization-example]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/#comment-1065">M Rao</a>.</p>
<p>Hi! Unfortunately, I&#8217;ve not been working with Terraform and vSphere anymore. 🙁 As far as I know, there were many changes to vSphere provider, and the network is one of the most changed parts. I&#8217;m afraid that my configs are not valid anymore. As far as I remember, ipv4_gateway is not a part of the network_interface section anymore. </p>
<p>Maybe something like this will help? But I don&#8217;t have a possibility to test that configuration:</p>
<p><code>clone {<br />
    template_uuid = "${data.vsphere_virtual_machine.template.id}"</p>
<p>    customize {<br />
      linux_options {<br />
        host_name = "TEST-${count.index +1}"<br />
        domain    = "test.internal"<br />
      }</p>
<p>      network_interface {<br />
       ipv4_address       = "10.20.30.${40 + count.index}"<br />
       ipv4_netmask       = "24"<br />
    }<br />
     ipv4_gateway       = "10.20.30.1"<br />
  }<br />
}</code></p>
<p>Please see the vSphere Provider documentation: <a href="https://www.terraform.io/docs/providers/vsphere/r/virtual_machine.html#cloning-and-customization-example" rel="nofollow ugc">https://www.terraform.io/docs/providers/vsphere/r/virtual_machine.html#cloning-and-customization-example</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: M Rao		</title>
		<link>https://emilwypych.com/2017/10/15/deploying-multiple-vsphere-vms-terraform/#comment-1065</link>

		<dc:creator><![CDATA[M Rao]]></dc:creator>
		<pubDate>Thu, 13 Jun 2019 13:06:26 +0000</pubDate>
		<guid isPermaLink="false">https://emilwypych.com/?p=320#comment-1065</guid>

					<description><![CDATA[I just started the automating the IT infrastructure related day to day activities with Terraform. In this process I trying to provision VMs in VMware vSphere environment.

VM got created in vCenter, however Gateway IP aadderss &#038; DNS IP address are not got assigned in the VM

can you please help me.

Thank you
M Rao

Can you please share your valuable inputs to automate the creation of VM activity.

Thank you]]></description>
			<content:encoded><![CDATA[<p>I just started the automating the IT infrastructure related day to day activities with Terraform. In this process I trying to provision VMs in VMware vSphere environment.</p>
<p>VM got created in vCenter, however Gateway IP aadderss &amp; DNS IP address are not got assigned in the VM</p>
<p>can you please help me.</p>
<p>Thank you<br />
M Rao</p>
<p>Can you please share your valuable inputs to automate the creation of VM activity.</p>
<p>Thank you</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 32/58 objects using Disk
Page Caching using Disk: Enhanced 
Minified using Disk

Served from: emilwypych.com @ 2025-12-01 05:07:54 by W3 Total Cache
-->