Create multiple resources with a loop If you want to create multiple instances of, say, an Azure resource group, you can add a for_each argument. The for_each argument accepts a map or a set, and creates an instance for each item in that map or set. So you can create a map of key value pairs (aka a dictionary) and use …
Read MoreThis is a back to basics post about a Terraform pattern: conditionals. It's Azure centric. Conditionals: if then else Imagine we want a resource group name to follow the rules of naming convention but in other cases we don't want to. So if there is a naming convention, implement that, if not than do not. For example, …
Read MoreIn Azure Kubernetes Service (AKS), nodes of the same configuration are grouped together into node pools. These node pools contain the underlying VMs that run your applications. The initial number of nodes and their size (SKU) is defined when you create an AKS cluster, which creates a system node pool. To support …
Read More