How do I create templates?
The azd template
has this file structure defined by azd conventions
โโโ .github [ Configure GitHub workflow ]
โโโ .vscode [ VS Code workspace ]
โโโ assets [ Assets used by README.MD ]
โโโ infra [ Creates and configures Azure resources ]
โ โโโ main.bicep [ Main infrastructure file ]
โ โโโ main.parameters.json [ Parameters file ]
โ โโโ resources.bicep [ Resources file ]
โโโ src [ Contains directories for the app code ]
โโโ azure.yaml [ Describes the app and type of Azure resources]
The Azure Developer CLI (azd) tool helps you with the process of creating the template with azd init
as the first step, followed by creation of the infra/
folder, updating of the azure.yaml
file, and validation of template using azd up
to provision and deploy resources.
READ THE DOCS
Learn more about about Making Your Project an azd template