Deploy Azure Verified Modules using Azure CLI (Bicep)
Step 1. First lets create a simple parameters file that will hold the main parameters we need for our infrastructure. Resouce group Name Location { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", "contentVersion": "1.0.0.0", "parameters": { "resourceGroupName": { "value": "ResourceGroupName" }, "location": { "value": "westus2" } } } Step 2. Next lets define some resources in main.bicep Resource Group Azure Keyvault Storage Account Azure Static App Server Farm (for function app) Function App targetScope = 'subscription' param location string param resourceGroupName string param deploySecrets bool = true // Condition to deploy secrets param deployKeys bool = true // Condition to deploy keys @description('Optional String to append ...