Bicep is used to deploy the Azure resources required to support the API deployment. While care has been taken to utilize free or low cost Azure SKUs, some cost may be incurred in deploying and running the sample.
Prerequisits:
- Install the Azure and Bicep CLI tools
- You will also need an Azure account and be logged into the Azure CLI, typically via
az login
The bicep deployment runs at the subscription level, nesting all resources under a newly created resource group called rg-veh-tax-bic-dev
. The bicep files are structured to support multiple environments, however only "dev" and "prod" are configured in this example. The "dev" environment uses the lowest cost infrastructure resources.
You can use the "what-if" tool to preview infrastructure changes:
az deployment sub what-if --location=eastus2 --parameters main.dev.bicepparam
or run the deploying using:
az deployment sub create --location=eastus2 --parameters main.dev.bicepparam
You can remove all resources by deleting the resource group:
az group delete --name rg-veh-tax-bic-dev