When deploying complex architectures, sometimes it might be necessary to run SQL imports or PowerShell scripts using Terraform. It is not uncommon that these commands are executed in local or remote provisioner under a special resource called null_resource. A Null Resource simply stores the desired state without doing anything to the environment. After the first … Continue reading Re-Running scripts using Terraform

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

When developing on Power Platform or Dynamics 365 Customer Engagement (D365 CE), it is not uncommon that new functionality need to be introduced to the application using JavaScript. Working with raw JavaScript or with some libraries like JQuery can sometimes make it a little cumbersome to maintain and debug your implementation. When the code is … Continue reading TypeScript Template for Power Platform (and D365 CE) Web Resources

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