When working with Terraform it might become necessary to include an ARM template deployment for part of the solution. When this happens and the ARM template is creating resources with a managed identity it is necessary to return the managed identity to the Terraform script. ARM templates can output values as part of their deployment … Continue reading Passing values between ARM template and Terraform

When managing an environment with multiple teams accessing and managing different services in the same subscription it is sometimes ideal to segregate the services by a resource group dedicated for each team. Segragation on top of subscription can be achieved by Resource Groups. When multiple teams and resource groups exists, it is important to apply … Continue reading Creating a Resource Group with a Service Principal for Deployments

Microsoft is working on a Domain Specific Language (DSL) for abstracting the Azure ARM templates, https://github.com/Azure/bicep, Although the language is still in its infancy, it is a very useful language for generating ARM templates without the need to learn the complexities required. Furthermore, it allows reusable code to be implemented using modules. Following some work … Continue reading Logic App ARM Template using Bicep

The code used in this article can be found at https://github.com/kdemanuele/102-terraform-modules-and-multiple-instance When working with large or reusable code, in programming languages it is common practice to organise the code in classes and libraries. Terraform provide a similar concepted named ‘modules‘. A module is a reusable terraform module that can either be shared through the modules … Continue reading Terraform Modules and Multiple Instances

Terraform is a HashiCorp project that allows Infrastructure to be deployed using code. By keeping a state of the environment and the changes in the terraform code, the infrastructure can be deployed or update. Step 1: Installing Terraform Terraform can be installed on different operating systems, Windows, Linux or iOS (Mac). The instructions can be … Continue reading Getting started with Terraform for Azure