update to latest stable types, remove unused tags
parent
7092a7b600
commit
52a23e555c
|
@ -17,7 +17,7 @@ param location string = resourceGroup().location
|
||||||
])
|
])
|
||||||
param acrSku string = 'Basic'
|
param acrSku string = 'Basic'
|
||||||
|
|
||||||
resource acr 'Microsoft.ContainerRegistry/registries@2019-12-01-preview' = {
|
resource acr 'Microsoft.ContainerRegistry/registries@2021-09-01' = {
|
||||||
name: acrName
|
name: acrName
|
||||||
location: location
|
location: location
|
||||||
tags: {
|
tags: {
|
||||||
|
|
|
@ -26,7 +26,7 @@ var storageEnv = environment().suffixes.storage
|
||||||
var imagesStorage = 'https://${storageAccountName}.blob.${storageEnv}/covers/'
|
var imagesStorage = 'https://${storageAccountName}.blob.${storageEnv}/covers/'
|
||||||
var deployIngestion = false
|
var deployIngestion = false
|
||||||
|
|
||||||
resource sqlServer 'Microsoft.Sql/servers@2020-02-02-preview' = {
|
resource sqlServer 'Microsoft.Sql/servers@2021-11-01' = {
|
||||||
name: serverName
|
name: serverName
|
||||||
location: location
|
location: location
|
||||||
properties: {
|
properties: {
|
||||||
|
@ -35,7 +35,7 @@ resource sqlServer 'Microsoft.Sql/servers@2020-02-02-preview' = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource sqlDB 'Microsoft.Sql/servers/databases@2020-08-01-preview' = {
|
resource sqlDB 'Microsoft.Sql/servers/databases@2021-11-01' = {
|
||||||
parent: sqlServer
|
parent: sqlServer
|
||||||
name: sqlDBName
|
name: sqlDBName
|
||||||
location: location
|
location: location
|
||||||
|
@ -67,14 +67,14 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2019-06-01' = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource feedQueue 'Microsoft.Storage/storageAccounts/queueServices/queues@2021-06-01' = {
|
resource feedQueue 'Microsoft.Storage/storageAccounts/queueServices/queues@2022-05-01' = {
|
||||||
name: '${storageAccountName}/default/feed-queue'
|
name: '${storageAccountName}/default/feed-queue'
|
||||||
dependsOn: [
|
dependsOn: [
|
||||||
storageAccount
|
storageAccount
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
resource workspace 'Microsoft.OperationalInsights/workspaces@2020-08-01' = {
|
resource workspace 'Microsoft.OperationalInsights/workspaces@2021-06-01' = {
|
||||||
name: workspaceName
|
name: workspaceName
|
||||||
location: location
|
location: location
|
||||||
properties: {
|
properties: {
|
||||||
|
@ -93,7 +93,6 @@ resource workspace 'Microsoft.OperationalInsights/workspaces@2020-08-01' = {
|
||||||
resource kubernetesEnv 'Microsoft.App/managedEnvironments@2022-03-01' = {
|
resource kubernetesEnv 'Microsoft.App/managedEnvironments@2022-03-01' = {
|
||||||
name: kubernetesEnvName
|
name: kubernetesEnvName
|
||||||
location: location
|
location: location
|
||||||
|
|
||||||
properties: {
|
properties: {
|
||||||
appLogsConfiguration: {
|
appLogsConfiguration: {
|
||||||
destination: 'log-analytics'
|
destination: 'log-analytics'
|
||||||
|
@ -111,6 +110,9 @@ resource apiContainerApp 'Microsoft.App/containerApps@2022-03-01' = {
|
||||||
properties: {
|
properties: {
|
||||||
managedEnvironmentId: kubernetesEnvId
|
managedEnvironmentId: kubernetesEnvId
|
||||||
configuration: {
|
configuration: {
|
||||||
|
dapr: {
|
||||||
|
enabled: false
|
||||||
|
}
|
||||||
activeRevisionsMode: 'single'
|
activeRevisionsMode: 'single'
|
||||||
ingress: {
|
ingress: {
|
||||||
external: true
|
external: true
|
||||||
|
@ -175,8 +177,6 @@ resource apiContainerApp 'Microsoft.App/containerApps@2022-03-01' = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tags: {
|
|
||||||
}
|
|
||||||
dependsOn: [
|
dependsOn: [
|
||||||
sqlDB
|
sqlDB
|
||||||
]
|
]
|
||||||
|
@ -188,6 +188,9 @@ resource ingestionContainerApp 'Microsoft.App/containerApps@2022-03-01' = if (de
|
||||||
properties: {
|
properties: {
|
||||||
managedEnvironmentId: kubernetesEnvId
|
managedEnvironmentId: kubernetesEnvId
|
||||||
configuration: {
|
configuration: {
|
||||||
|
dapr: {
|
||||||
|
enabled: false
|
||||||
|
}
|
||||||
activeRevisionsMode: 'single'
|
activeRevisionsMode: 'single'
|
||||||
registries: [
|
registries: [
|
||||||
{
|
{
|
||||||
|
@ -265,6 +268,9 @@ resource updaterContainerApp 'Microsoft.App/containerApps@2022-03-01' = {
|
||||||
properties: {
|
properties: {
|
||||||
managedEnvironmentId: kubernetesEnvId
|
managedEnvironmentId: kubernetesEnvId
|
||||||
configuration: {
|
configuration: {
|
||||||
|
dapr: {
|
||||||
|
enabled: false
|
||||||
|
}
|
||||||
activeRevisionsMode: 'single'
|
activeRevisionsMode: 'single'
|
||||||
registries: [
|
registries: [
|
||||||
{
|
{
|
||||||
|
@ -311,8 +317,6 @@ resource updaterContainerApp 'Microsoft.App/containerApps@2022-03-01' = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tags: {
|
|
||||||
}
|
|
||||||
dependsOn: [
|
dependsOn: [
|
||||||
apiContainerApp
|
apiContainerApp
|
||||||
storageAccount
|
storageAccount
|
||||||
|
|
|
@ -15,7 +15,7 @@ param location string = resourceGroup().location
|
||||||
@description('The Runtime stack of current web app')
|
@description('The Runtime stack of current web app')
|
||||||
param linuxFxVersion string = 'DOTNETCORE|6.0'
|
param linuxFxVersion string = 'DOTNETCORE|6.0'
|
||||||
|
|
||||||
resource servicePlan 'Microsoft.Web/serverfarms@2020-06-01' = {
|
resource servicePlan 'Microsoft.Web/serverfarms@2022-03-01' = {
|
||||||
name: servicePlanName
|
name: servicePlanName
|
||||||
location: location
|
location: location
|
||||||
sku: {
|
sku: {
|
||||||
|
@ -27,7 +27,7 @@ resource servicePlan 'Microsoft.Web/serverfarms@2020-06-01' = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource webApp 'Microsoft.Web/sites@2020-06-01' = {
|
resource webApp 'Microsoft.Web/sites@2022-03-01' = {
|
||||||
name: webAppName
|
name: webAppName
|
||||||
location: location
|
location: location
|
||||||
properties: {
|
properties: {
|
||||||
|
|
Loading…
Reference in New Issue