Cloud & Engineering

We regularly write about our technical experiences (good and bad) and what we're learning from the market.

  • There are no suggestions because the search field is empty.

Tags

Writing ARM Templates in YAML

Posted by Justin Yoo on 07 August 2018

CICD, JSON, VSTS, ARM Templates, Testing, Pester, Blog, Technology, YAML

In my previous post, ARM Template Lifecycle Management: DOs and DON’Ts, I recommend to consider YAML for ARM template authoring. In the post, I also suggest using yarm to convert YAML to JSON and/or vice-versa. However, yarm is not that easy to use because it has to be deployed to Azure or, at least, it has to be run...

Continue reading

Testing ARM Templates with Pester #2 – Azure CLI

Posted by Justin Yoo on 11 July 2018

Architecture, VSTS, ARM Templates, Azure PowerShell, Testing, Pester, Blog, Technology, Azure CLI

In my previous post, Testing ARM Templates with Pester #1 – PowerShell, I showed how to test behaviours ARM template deployment without actual deployment. At the end of the post, I also briefly mentioned how we can integrate this testing into our CI/CD pipeline. However, I was actually asked many times how I did it on

Continue reading

Testing ARM Templates with Pester #1 - PowerShell

Posted by Justin Yoo on 22 January 2018

ARM Templates, Testing, Pester, Blog, Technology

ARM template is a great tool for Azure resources deployment. However, it’s very tricky to use because:

  • It’s a JSON object with massive number of lines,
  • Its JSON structure is quite complex so that it’s not that easy to read at a glance,
  • It’s hard to validate if there is a typo or not, and
  • We only know if the resource...
Continue reading