calque/infrastructure/registry.bicep
2024-11-18 14:25:15 +01:00

23 lines
490 B
Bicep

import { Context } from 'types.bicep'
targetScope = 'resourceGroup'
param context Context
resource registry 'Microsoft.ContainerRegistry/registries@2023-07-01' = {
name: 'acr${context.locationAbbreviation}${context.environment}${context.projectName}'
location: context.location
sku: {
name: 'Basic'
}
identity: {
type: 'SystemAssigned'
}
properties: {
adminUserEnabled: true
dataEndpointEnabled: false
encryption: {
status: 'disabled'
}
}
}