Skip to content

Instantly share code, notes, and snippets.

@johnlokerse
Last active January 7, 2024 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnlokerse/b67cf4afe100bcf6e7ddf3b9a987d27a to your computer and use it in GitHub Desktop.
Save johnlokerse/b67cf4afe100bcf6e7ddf3b9a987d27a to your computer and use it in GitHub Desktop.
Reusability with export and import in Azure Bicep blog
import { tagsType } from './shared.bicep'
param parKeyVaultName string
param parTags tagsType
resource resKeyVault 'Microsoft.KeyVault/vaults@2023-07-01' = {
name: parKeyVaultName
tags: parTags
location: resourceGroup().location
properties: {
sku: {
name: 'standard'
family: 'A'
}
tenantId: tenant().tenantId
accessPolicies: []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment