[NoBrainer] Import existing Microsoft Entra ID security groups into terraform state

In a project involving infrastructure as code (IaC) with terraform, Microsoft Entra ID security groups were manually created in the Azure portal. To avoid recreation, the import feature in terraform was used to bring existing groups into terraform state. This involved obtaining object IDs and descriptions, adding the groups as resources in terraform code, and importing them into terraform state.

[HOWTO] Automate Terraform execution in Azure DevOps YAML pipeline

The blog post explains the preferred setup for infrastructure deployments using Infrastructure as Code (IaC) with Terraform and Azure DevOps YAML pipelines. The author discusses the organization of service connections and security settings, and provides an in-depth look at the pipeline structure and tasks within each stage. The text also mentions an important update regarding Azure Pipelines Terraform tasks and offers a practical approach on pipeline re-runs after local fixes.

[NoBrainer] Azure Monitor Metric Alerts for Azure Functions

The Azure webhook consumer/receiver failed to receive any events apart from heartbeat events due to an error during the webhook's update. The issue, which originated from the event filter altering from a wildcard to [], was fixed by an event filter update. To prevent similar issues, an Azure Monitor Metric Alert was established. It signals less than seven executions of the Azure Function per hour and emails the Azure Resource Manager (ARM) role members on each alert,

[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 →

Powered by WordPress.com.

Up ↑