<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Terraform on Giedrius Statkevičius</title><link>https://giedrius.blog/categories/terraform/</link><description>Recent content in Terraform on Giedrius Statkevičius</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 23 Apr 2018 15:54:01 +0000</lastBuildDate><atom:link href="https://giedrius.blog/categories/terraform/feed.xml" rel="self" type="application/rss+xml"/><item><title>Terraform vSphere provider 1.x now supports deploying OVA files, makes using ovftool on ESXi hosts obsolete</title><link>https://giedrius.blog/2018/04/23/terraform-vsphere-provider-1-x-now-supports-deploying-ova-files-makes-using-ovftool-on-esxi-hosts-obsolete/</link><pubDate>Mon, 23 Apr 2018 15:54:01 +0000</pubDate><guid isPermaLink="false">http://giedrius.blog/?p=164</guid><description>&lt;p&gt;You may currently have this pipe-line in your CI/CD process that involves running &lt;em&gt;ovftool&lt;/em&gt; directly on your ESXi host so as to deploy an OVA appliance directly from it and with as less overhead as possible as in &lt;a href="https://www.virtuallyghetto.com/2014/05/how-to-finally-inject-ovf-properties-into-vcsa-when-deploying-directly-onto-esxi.html"&gt;this&lt;/a&gt; tutorial on virtuallyGhetto or you could have picked up some tips about running &lt;em&gt;ovftool&lt;/em&gt; on ESXi from this &lt;a href="https://giedrius.blog/2017/10/12/do-not-forget-to-open-443-port-while-using-ovftool-on-esxi-hosts/"&gt;article&lt;/a&gt; that I wrote some time ago.&lt;/p&gt;
&lt;p&gt;However, that is certainly not the best solution for many reasons. For example, if the input is not sanitized in some location(-s) then it becomes trivial to execute any command on the ESXi host. Thus, instead I recommend you to use a tool like Terraform to save your infrastructure as code in a Git repository, for example. With the 1.x version of the Terraform&amp;rsquo;s vSphere provider you can implement such pipe-line in Terraform as well.&lt;/p&gt;</description></item></channel></rss>