Skip to main content

Pre-commit Hooks in GitHub Codespaces for Terraform IaC

· 9 min read

Pre-commit hooks are automated scripts or checks running before developers commit code to a repository. They are particularly useful in the context of infrastructure, such as code (IaC) development, when working with Terraform.

These hooks serve as an early defense against common issues, ensuring code quality and consistency before changes are committed to version control.

Today, we are going to discuss precommit with GitHub Codespaces.

Deploying Azure Managed Redis with Bicep

· 4 min read

Azure Managed Redis announced during Microsoft Ignite 2024 in Public Preview.

This is a new, fully-managed, first-party Redis offering in Microsoft Azure. Azure Managed Redis is available today in public preview. Microsoft Azure is the first major cloud service provider to offer customers a licensed, multi-tiered Redis service.

This article will show you how to deploy an Azure Managed Redis instance using Bicep. Bicep is a Domain Specific Language (DSL) for deploying Azure resources declaratively. It aims to drastically simplify the authoring experience with a cleaner syntax and better support for modularity and code reuse.

Authenticating Azure OpenAI with Managed Identity

· 3 min read

When developing a Python application that interacts with Azure OpenAI, you may want to authenticate with an API key for testing, however in Production, you should use Managed Identities within Microsoft Azure.

In this article, we will look at how to authenticate with Azure OpenAI using an API key in Python for local development, then using an environment variable switch to authenticating using managed Identities.