ARM Templates Fundamentals: My Development Workflow

Objective: To show my own experience and development workflow for building out infrastructure-as-code with Azure Resource Manager (ARM) Templates. My hope is that for novices this provides some insight and starting point to develop your own workflow. My Infrastructure as code workflow: 1. Setup a development azure subscription and resource group for your ARM deployment. …

Continue reading ARM Templates Fundamentals: My Development Workflow

ARM Templates Fundamentals: My Development Tools

Azure ARM Templates provides the ability to deploy azure resource infrastructure in a repeatable, declarative and repeatable state. It is infrastructure-as-code. For those getting started and wondering what they need to build your tool belt, I will share what my tool belt and development process look like. My Software and tools My operating system is …

Continue reading ARM Templates Fundamentals: My Development Tools

ARM Template Error & Fix: Invalid Template … The resource referenced in output is not defined in the template

This articles assume you have a good working knowledge of ARM linked templates. Background: I am deploying a SQL Server resource arm template through a linked template. I want to get the values of the output of this linked template to pass into as values into properties of the azure website resource in the main …

Continue reading ARM Template Error & Fix: Invalid Template … The resource referenced in output is not defined in the template

How to get the Secret from an Output of an Azure Key Vault ARM Template Deployment to the Main ARM Template

The Scenario I have a set of ARM templates that deploys an azure app service solution with Azure Key Vault and a secret value. The main template is calling out via the linked template resource reference to the Key Vault resource template. ... snippet ... }, "resources": [ { "apiVersion": "2018-05-01", "name": "linkedTemplate-keyvault", "type": "Microsoft.Resources/deployments", …

Continue reading How to get the Secret from an Output of an Azure Key Vault ARM Template Deployment to the Main ARM Template

Azure Resource Graph Queries by Resource Type

The Azure Resource Graph provides the ability query and explore your azure resources at scale. That is across all your subscriptions. I will show options to find the resource type that is be used in your resource graph query. You may ask how to query for storage account resource types and need to find the …

Continue reading Azure Resource Graph Queries by Resource Type

My Azure Resource Graph Queries using Aggregation

Azure Resource Graph supports querying resources across multiple subscriptions and is fast. The key value add is that it supports aggregation using the summarize operator. For example answering questions such as How many resources grouped by subscription or location? How many of each OS type are used in resource groups? What is the most used …

Continue reading My Azure Resource Graph Queries using Aggregation

My Practical Intro to Azure Resource Graph

The Azure Resource Graph is attractive to me for its ability to query Azure resources at scale. I find this relevant in situations where you are managing a large number of subscriptions, resource groups and resources. And you are in situations to analyze and report on them. Without Azure Resource Graph, I would use Azure …

Continue reading My Practical Intro to Azure Resource Graph

Debugging Azure PowerShell with Activity Log

I got the following error message in PowerShell, as I was trying to create an Azure virtual network with multiple subnets by running New-AzureRMVirtualNetwork This error message is too vague and need more information. So where do I look? There are two options. 1) The long and manual option Go to Azure Portal > the …

Continue reading Debugging Azure PowerShell with Activity Log