Skip to main content

196 posts tagged with "Azure"

View All Tags

Managing Environment Variables in Azure Static Web Apps with Azure Developer CLI

· 4 min read

The Azure Developer CLI (azd) is an open-source tool that accelerates provisioning and deploying app resources on Azure, it is great for deploying resources quickly and easily - especially in a proof of concept, or rapid innovation scenario.

One of the resources you can deploy (both Infrastructure and Application) is a Azure Static Web App recently, I ran into an issue where I was deploying a backend Azure Function, and I needed a react web application front end hosted on the Azure Static WebApp to pull the function app URL and function key from the runtime environment variables, and quickly realized that React does not support runtime environment variables - only build-time environment variables.

PowerShell based Terraform Bootstrap Script

· 7 min read

Today, we will implement a Terraform bootstrap script that will install Terraform and create directories where we can place our Terraform project, which will then run a plan against and deploy. This script will be written in PowerShell to bootstrap a new Terraform project.

"Bootstrapping usually refers to a self-starting process that is supposed to continue or grow without external input. Many analytical techniques are often called bootstrap methods in reference to their self-starting or self-supporting implementation" ~ Wikipedia.

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.