I don't get it...

This commit is contained in:
Chris Kruining 2024-11-14 20:41:19 +01:00
parent 7d1b90e25d
commit 85d4609ef3
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -9,7 +9,7 @@ var appName = 'app'
var version = 'latest' var version = 'latest'
resource environment 'Microsoft.App/managedEnvironments@2024-03-01' = { resource environment 'Microsoft.App/managedEnvironments@2024-03-01' = {
name: 'acr-${context.locationAbbreviation}-${context.environment}-${context.projectName}' name: 'cea-${context.locationAbbreviation}-${context.environment}-${context.projectName}'
location: context.location location: context.location
properties: { properties: {
appLogsConfiguration: { appLogsConfiguration: {
@ -19,7 +19,7 @@ resource environment 'Microsoft.App/managedEnvironments@2024-03-01' = {
} }
resource app 'Microsoft.App/containerApps@2024-03-01' = { resource app 'Microsoft.App/containerApps@2024-03-01' = {
name: 'acr-${context.locationAbbreviation}-${context.environment}-${context.projectName}-app' name: 'ca-${context.locationAbbreviation}-${context.environment}-${context.projectName}-app'
location: context.location location: context.location
identity: { identity: {
type: 'SystemAssigned' type: 'SystemAssigned'
@ -55,7 +55,7 @@ resource app 'Microsoft.App/containerApps@2024-03-01' = {
registries: [ registries: [
{ {
identity: 'system' identity: 'system'
server: registry.properties.loginServer server: '${registry.properties.loginServer}@2023-07-01'
} }
] ]
} }