<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ARM Templates on Incredible Technology, Incredibly Simple</title><link>https://damianflynn.com/tags/arm-templates/</link><description>Recent content in ARM Templates on Incredible Technology, Incredibly Simple</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 15 Feb 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://damianflynn.com/tags/arm-templates/index.xml" rel="self" type="application/rss+xml"/><item><title>Terraform or Bicep for Azure: Strengths Compared</title><link>https://damianflynn.com/posts/considering-terraform-and-bicep/</link><pubDate>Wed, 15 Feb 2023 00:00:00 +0000</pubDate><guid>https://damianflynn.com/posts/considering-terraform-and-bicep/</guid><description>&lt;h1 class="relative text-5xl font-semibold leading-tense text-secondary-500 mb-4 -ml-px" id="considering-terraform-and-bicep"&gt;&lt;a href="#considering-terraform-and-bicep" class="header-mark" aria-label="Header mark for 'Considering Terraform and Bicep'"&gt;&lt;/a&gt;
 &lt;div id="considering-terraform-and-bicep" class="absolute -top-28"&gt;&lt;/div&gt;
 Considering Terraform and Bicep
&lt;/h1&gt;
&lt;p&gt;As more organizations adopt cloud infrastructure, the demand for infrastructure as code (IAC) solutions has grown. Infrastructure as code allows developers to manage and automate infrastructure deployments using code, making it easier to track changes and maintain consistency.&lt;/p&gt;
&lt;p&gt;Terraform and Bicep are two popular IAC solutions that enable developers to manage and automate infrastructure deployments using code.&lt;/p&gt;</description></item><item><title>Getting Azure Function Keys with ARM Templates</title><link>https://damianflynn.com/posts/azure-iac-function-keys/</link><pubDate>Mon, 07 Nov 2022 00:00:00 +0000</pubDate><guid>https://damianflynn.com/posts/azure-iac-function-keys/</guid><description>&lt;p&gt;Today&amp;rsquo;s conundrum: I&amp;rsquo;ve deployed a new &lt;a href="https://damianflynn.com/posts/azure-functions-scaffolding/" rel=""&gt;Function Application&lt;/a&gt;, and another service needs a key to call it. API Management is a good example. The infrastructure deployment should prepare that integration without someone opening the portal, copying a key and pasting it into the next configuration step.&lt;/p&gt;
&lt;p&gt;ARM templates can create a named host key and retrieve its value through &lt;code&gt;listKeys&lt;/code&gt;. Giving the integration its own named key also makes its purpose clearer than reusing a generic default key.&lt;/p&gt;
&lt;p&gt;The examples below show the resource definition and the lookup used in my original deployment. They are fragments to merge into an existing Function App template, not a complete deployment on their own.&lt;/p&gt;</description></item><item><title>Azure Tags as ARM Template Parameters</title><link>https://damianflynn.com/posts/azure-iac-tags-as-parameters/</link><pubDate>Sun, 17 Jan 2021 00:00:00 +0000</pubDate><guid>https://damianflynn.com/posts/azure-iac-tags-as-parameters/</guid><description>&lt;h1 class="relative text-5xl font-semibold leading-tense text-secondary-500 mb-4 -ml-px" id="azure-as-a-state-machine-dogfooding-tags"&gt;&lt;a href="#azure-as-a-state-machine-dogfooding-tags" class="header-mark" aria-label="Header mark for 'Azure as a State Machine, dogfooding Tags'"&gt;&lt;/a&gt;
 &lt;div id="azure-as-a-state-machine-dogfooding-tags" class="absolute -top-28"&gt;&lt;/div&gt;
 Azure as a State Machine, dogfooding Tags
&lt;/h1&gt;
&lt;p&gt;In the post, I am going to introduce a concept which will allow you to greatly up your Infrastructure as Code game, by using Azure as a State Machine!&lt;/p&gt;
&lt;p&gt;One of the typical challenges when deploying ARM templates, is the sheer number of parameters which we find as a requirement to complete a deployment; which as you will appreciate gets considerably harder as we target many environments.&lt;/p&gt;</description></item><item><title>Appending Tags to Azure Resources with ARM Templates</title><link>https://damianflynn.com/posts/azure-iac-appending-tags/</link><pubDate>Wed, 01 Apr 2020 00:00:00 +0000</pubDate><guid>https://damianflynn.com/posts/azure-iac-appending-tags/</guid><description>&lt;p&gt;Todays conundrum: As I am leveraging templates, there will always be some standard tags I require to implement within the template, but I also require to provide additional tags as a parameter to be appended with the deployment.&lt;/p&gt;
&lt;p&gt;My objective is to set up tags within an ARM template in accordance with good governance and the Cloud adoption framework.&lt;/p&gt;
&lt;h2 class="relative text-3xl font-bold leading-tight text-secondary-500 mb-2 mt-12 -ml-px"&gt;
 &lt;div id="solution" class="absolute -top-28"&gt;&lt;/div&gt;
 Solution
&lt;/h2&gt;
&lt;p&gt;ARM Template functions to the rescue. Todays salvation is called &lt;code&gt;union&lt;/code&gt;, which you can learn more about on the actual [reference site][https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-functions-array#union]&lt;/p&gt;</description></item><item><title>Azure Policy as Code: Escaping Quotes in ARM Templates</title><link>https://damianflynn.com/posts/defining-policy-as-code-with-arm-templates/</link><pubDate>Tue, 20 Nov 2018 00:00:00 +0000</pubDate><guid>https://damianflynn.com/posts/defining-policy-as-code-with-arm-templates/</guid><description>&lt;p&gt;My colleagues and friends &lt;a href="https://blog.tyang.org/2018/06/06/using-arm-templates-to-deploying-azure-policy-definitions-that-requires-input-parameters/" target="_blank" rel="noopener noreferrer"&gt;Tao Yang&lt;/a&gt; , and &lt;a href="https://cloudadministrator.net/2018/07/17/defining-input-parameters-for-policy-definitions-in-arm-template/" target="_blank" rel="noopener noreferrer"&gt;Stanislav Zhelyazkov&lt;/a&gt; have both recently posts interesting topics on how to implement your Azure Policy as Code which I strongly recommend you take a few moments to review&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://blog.tyang.org/2018/06/06/using-arm-templates-to-deploying-azure-policy-definitions-that-requires-input-parameters/" target="_blank" rel="noopener noreferrer"&gt;Using ARM Templates to deploy azure policy definitions that require input parameters&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://cloudadministrator.net/2018/07/17/defining-input-parameters-for-policy-definitions-in-arm-template/" target="_blank" rel="noopener noreferrer"&gt;Defining input parameters for policy definitions in ARM Templates&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 class="relative text-3xl font-bold leading-tight text-secondary-500 mb-2 mt-12 -ml-px"&gt;
 &lt;div id="improving-readability" class="absolute -top-28"&gt;&lt;/div&gt;
 Improving Readability
&lt;/h2&gt;
&lt;p&gt;Both of these topics address the core of the challenges we face when approaching policy as an Infrastructure as Code problem. However, one of the things that is lost in the translation is the readability of the templates which they are deploying.&lt;/p&gt;</description></item><item><title>Host a Static Website in Azure Blob Storage with CDN</title><link>https://damianflynn.com/posts/hosting-static-sites-in-azure-with-cdn/</link><pubDate>Sat, 20 Oct 2018 00:00:00 +0000</pubDate><guid>https://damianflynn.com/posts/hosting-static-sites-in-azure-with-cdn/</guid><description>&lt;p&gt;Hosting my site on Wordpress was not super complex; I leveraged the Azure PaaS Services for Web Apps, and orginally the 3rd party support for hosted MySQL database&amp;rsquo;s. Once I was up and running I quickly realised that all media hosted on the site were landing on the webserver, so a plugin from its marketplace offered the ability to relocate the media to an Azure Blob; offloading some of the challanges.&lt;/p&gt;</description></item></channel></rss>