initial attempt at IaC and CI/CD
This commit is contained in:
parent
597c7e4e0b
commit
820b251c61
11 changed files with 355 additions and 1 deletions
16
infrastructure/registry.bicep
Normal file
16
infrastructure/registry.bicep
Normal file
|
@ -0,0 +1,16 @@
|
|||
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'
|
||||
}
|
||||
properties: {}
|
||||
}
|
||||
|
||||
output registry resource'Microsoft.ContainerRegistry/registries@2023-07-01' = registry
|
Loading…
Add table
Add a link
Reference in a new issue