<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Terraform on General Ramblings</title>
    <link>https://fc4c6dbc.haigmail.pages.dev/tags/terraform/</link>
    <description>Recent content in Terraform on General Ramblings</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>Lance Haig</copyright>
    <lastBuildDate>Tue, 08 Oct 2019 07:49:03 +0000</lastBuildDate><atom:link href="https://fc4c6dbc.haigmail.pages.dev/tags/terraform/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Multi-Cloud DNS delegated Sub domain with Terraform Cloud</title>
      <link>https://fc4c6dbc.haigmail.pages.dev/2019/10/08/multi-cloud-dns-delegated-sub-domain-with-terraform-and-terraform-cloud/</link>
      <pubDate>Tue, 08 Oct 2019 07:49:03 +0000</pubDate>
      
      <guid>https://fc4c6dbc.haigmail.pages.dev/2019/10/08/multi-cloud-dns-delegated-sub-domain-with-terraform-and-terraform-cloud/</guid>
      <description>
        
          
            &lt;h1 id=&#34;dns-in-a-multi-cloud-world&#34;&gt;DNS in a multi-cloud world&lt;/h1&gt;
&lt;p&gt;As companies transition to multi-cloud deployments, creating a common way to deploy solutions has become a requirement, this is also easily achieved by using Terraform to create your immutable infrastructure.&lt;/p&gt;
&lt;p&gt;The challenge you face is that the infrastructure in a cloud deployment is dynamic in nature and so you can&#39;t predict what the IP addresses of parts of your systems will be and these IP addresses can change daily if your developers have a fast deployment cycle.&lt;/p&gt;
          
          
        
      </description>
    </item>
    
    <item>
      <title>Setting up GOOGLE_CREDENTIALS for Terraform Cloud</title>
      <link>https://fc4c6dbc.haigmail.pages.dev/2019/10/07/setting-up-google_credentials-for-terraform-cloud/</link>
      <pubDate>Mon, 07 Oct 2019 19:48:32 +0000</pubDate>
      
      <guid>https://fc4c6dbc.haigmail.pages.dev/2019/10/07/setting-up-google_credentials-for-terraform-cloud/</guid>
      <description>
        
          
            &lt;p&gt;The getting started guides for using Terraform with Google Cloud Platform (GCP) 
&lt;a href=&#34;https://cloud.google.com/community/tutorials/getting-started-on-gcp-with-terraform&#34;&gt;https://cloud.google.com/community/tutorials/getting-started-on-gcp-with-terraform&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All suggest using code like this to provide credentials &lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-terraform&#34; data-lang=&#34;terraform&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;// Configure the Google Cloud provider
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;kr&#34;&gt;provider&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;google&amp;#34;&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt; &lt;span class=&#34;nx&#34;&gt;credentials&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span class=&#34;si&#34;&gt;${&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;file&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;CREDENTIALS_FILE.json&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;si&#34;&gt;}&lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;4&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt; &lt;span class=&#34;nx&#34;&gt;project&lt;/span&gt;     &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;flask-app-211918&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;5&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt; &lt;span class=&#34;nx&#34;&gt;region&lt;/span&gt;      &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;us-west1&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;6&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This works well when you are just learning Terraform. Once you start working with 2 or three other engineers this becomes more of a challenge because you need to keep the state file secure using a remote S3 backend etc.. but you still have the problem of the credential file that needs to be shared. However since the launch of Terraform Cloud at Hashiconf it is now possible to sign up for a free Terraform Cloud account and to use it as a remote backend for your plans.&lt;/p&gt;
          
          
        
      </description>
    </item>
    
  </channel>
</rss>