Skip to content

Instantly share code, notes, and snippets.

@johnlokerse
Created November 10, 2024 10:20
Show Gist options
  • Save johnlokerse/0f2afc24a3896fdd96a589fa73c615fa to your computer and use it in GitHub Desktop.
Save johnlokerse/0f2afc24a3896fdd96a589fa73c615fa to your computer and use it in GitHub Desktop.
Improve code generation with custom instruction for GitHub Copilot blog
Azure Verified Modules always have the name and location as required parameters. Always pass the name and location as parameters to the module:
```bicep
module modSymbolicName 'br/public:avm/res/_type_/_resource_:_version_' = {
name: 'storageAccount'
params: {
name: parName
location: parLocation
}
}
```
Select one of the Azure Verified Modules listed below and reference it as a template to build the module in the Bicep file.
Azure Active Directory: br/public:avm/res/aad:_version_
Alerts Management: br/public:avm/res/alerts-management:_version_
Analysis Services: br/public:avm/res/analysis-services:_version_
API Management: br/public:avm/res/api-management:_version_
App Service: br/public:avm/res/app:_version_
...
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment