When working with Azure Monitor alerts that trigger email notifications, there is a tiny little detail to consider to make sure the email notifications get delivered as expected. But let's first have a look at the setup of an Azure Monitor alert. In my case, I set up an Azure Monitor metric alert and action... Continue Reading →
[HOWTO] Move Terraform state from an Azure Blob Storage container to another
As already stated in the title, this blog post shows a simple way to move Terraform state between Azure Blob Storage containers. Terraform version: Terraform v1.3.7Azure Storage Account kind: StorageV2 (general purpose v2) To perform the move, proceed as follows: Execute terraform init with the actual terraform backend configuration Execute terraform apply with the actual... Continue Reading →
[NoBrainer] Define Azure Key Vault with embedded Access Policy in Terraform
azurerm (Azure resource manager) provider for terraform allows definition of Key Vault access policies either within the azurerm_key_vault resource via the access_policy block or by using the azurerm_key_vault_access_policy resource (using both methods for access policy management leads to conflicts). The advantage of defining Key Vault access policies within the azurerm_key_vault resource over defining azurerm_key_vault_access_policy resource(s)... Continue Reading →