Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update bicep dependencies (major) #1621

Merged
merged 5 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .azure/applications/graphql/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ var tags = {
Product: 'Dialogporten'
}

resource appConfiguration 'Microsoft.AppConfiguration/configurationStores@2023-03-01' existing = {
resource appConfiguration 'Microsoft.AppConfiguration/configurationStores@2024-05-01' existing = {
name: appConfigurationName
}

resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-03-01' existing = {
resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-10-02-preview' existing = {
name: containerAppEnvironmentName
}

Expand Down
4 changes: 2 additions & 2 deletions .azure/applications/service/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ var tags = {
Product: 'Dialogporten'
}

resource appConfiguration 'Microsoft.AppConfiguration/configurationStores@2023-03-01' existing = {
resource appConfiguration 'Microsoft.AppConfiguration/configurationStores@2024-05-01' existing = {
name: appConfigurationName
}

resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-03-01' existing = {
resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-10-02-preview' existing = {
name: containerAppEnvironmentName
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var tags = {
}
var name = '${namePrefix}-sync-rp-info'

resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-03-01' existing = {
resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-10-02-preview' existing = {
name: containerAppEnvironmentName
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var tags = {
}
var name = '${namePrefix}-sync-sr-mappings'

resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-03-01' existing = {
resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-10-02-preview' existing = {
name: containerAppEnvironmentName
}

Expand Down
4 changes: 2 additions & 2 deletions .azure/applications/web-api-eu/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ var tags = {
Product: 'Dialogporten'
}

resource appConfiguration 'Microsoft.AppConfiguration/configurationStores@2023-03-01' existing = {
resource appConfiguration 'Microsoft.AppConfiguration/configurationStores@2024-05-01' existing = {
name: appConfigurationName
}

resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-03-01' existing = {
resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-10-02-preview' existing = {
name: containerAppEnvironmentName
}

Expand Down
2 changes: 1 addition & 1 deletion .azure/applications/web-api-migration-job/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var tags = {
}
var name = '${namePrefix}-db-migration-job'

resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-03-01' existing = {
resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-10-02-preview' existing = {
name: containerAppEnvironmentName
}

Expand Down
4 changes: 2 additions & 2 deletions .azure/applications/web-api-so/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ var tags = {
Product: 'Dialogporten'
}

resource appConfiguration 'Microsoft.AppConfiguration/configurationStores@2023-03-01' existing = {
resource appConfiguration 'Microsoft.AppConfiguration/configurationStores@2024-05-01' existing = {
name: appConfigurationName
}

resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-03-01' existing = {
resource containerAppEnvironment 'Microsoft.App/managedEnvironments@2024-10-02-preview' existing = {
name: containerAppEnvironmentName
}

Expand Down
2 changes: 1 addition & 1 deletion .azure/infrastructure/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ var tags = {
}

// Create resource groups
resource resourceGroup 'Microsoft.Resources/resourceGroups@2024-03-01' = {
resource resourceGroup 'Microsoft.Resources/resourceGroups@2024-11-01' = {
name: '${namePrefix}-rg'
location: location
tags: tags
Expand Down
2 changes: 1 addition & 1 deletion .azure/modules/appConfiguration/addReaderRoles.bicep
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param appConfigurationName string
param principalIds array

resource appConfig 'Microsoft.AppConfiguration/configurationStores@2023-03-01' existing = {
resource appConfig 'Microsoft.AppConfiguration/configurationStores@2024-05-01' existing = {
name: appConfigurationName
}

Expand Down
2 changes: 1 addition & 1 deletion .azure/modules/appConfiguration/create.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ param sku Sku
var appConfigNameMaxLength = 63
var appConfigName = uniqueResourceName('${namePrefix}-appConfiguration', appConfigNameMaxLength)

resource appConfig 'Microsoft.AppConfiguration/configurationStores@2023-03-01' = {
resource appConfig 'Microsoft.AppConfiguration/configurationStores@2024-05-01' = {
name: appConfigName
location: location
sku: sku
Expand Down
2 changes: 1 addition & 1 deletion .azure/modules/appConfiguration/upsertKeyValue.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ param tags object = {}
var parsedContentType = keyValueType == 'keyVaultReference' ? 'application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8' : keyValueType == 'featureFlag' ? 'application/vnd.microsoft.appconfig.ff+json;charset=utf-8' : contentType
var parsedValue = keyValueType == 'keyVaultReference' ? '{"uri":"${value}"}' : value

resource configStore 'Microsoft.AppConfiguration/configurationStores@2023-03-01' existing = {
resource configStore 'Microsoft.AppConfiguration/configurationStores@2024-05-01' existing = {
name: configStoreName
resource configStoreKeyValue 'keyValues' = {
name: key
Expand Down
2 changes: 1 addition & 1 deletion .azure/modules/containerAppEnv/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource appInsightsWorkspace 'Microsoft.OperationalInsights/workspaces@2023-09-
name: appInsightWorkspaceName
}

resource containerAppEnv 'Microsoft.App/managedEnvironments@2024-02-02-preview' = {
resource containerAppEnv 'Microsoft.App/managedEnvironments@2024-10-02-preview' = {
name: '${namePrefix}-cae'
location: location
identity: {
Expand Down
2 changes: 1 addition & 1 deletion .azure/modules/keyvault/copySecrets.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ resource srcKeyVaultResource 'Microsoft.KeyVault/vaults@2023-07-01' existing = {
scope: resourceGroup(srcKeyVaultSubId, srcKeyVaultRGNName)
}

resource appConfigurationResource 'Microsoft.AppConfiguration/configurationStores@2023-03-01' existing = {
resource appConfigurationResource 'Microsoft.AppConfiguration/configurationStores@2024-05-01' existing = {
name: appConfigurationName
}

Expand Down
6 changes: 3 additions & 3 deletions .azure/modules/privateDnsZone/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ type ARecord = {
@description('Array of A records to be created in the DNS zone')
param aRecords ARecord[] = []

resource privateDnsZone 'Microsoft.Network/privateDnsZones@2020-06-01' = {
resource privateDnsZone 'Microsoft.Network/privateDnsZones@2024-06-01' = {
name: defaultDomain
location: 'global'
properties: {}
tags: tags
}

resource aRecordResources 'Microsoft.Network/privateDnsZones/A@2020-06-01' = [
resource aRecordResources 'Microsoft.Network/privateDnsZones/A@2024-06-01' = [
for record in aRecords: {
parent: privateDnsZone
name: record.name
Expand All @@ -40,7 +40,7 @@ resource aRecordResources 'Microsoft.Network/privateDnsZones/A@2020-06-01' = [
}
]

resource virtualNetworkLink 'Microsoft.Network/privateDnsZones/virtualNetworkLinks@2020-06-01' = {
resource virtualNetworkLink 'Microsoft.Network/privateDnsZones/virtualNetworkLinks@2024-06-01' = {
parent: privateDnsZone
name: '${namePrefix}-pdns-link'
location: 'global'
Expand Down
2 changes: 1 addition & 1 deletion .azure/modules/redis/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var redisNameMaxLength = 63
var redisName = uniqueResourceName('${namePrefix}-redis', redisNameMaxLength)

// https://learn.microsoft.com/en-us/azure/templates/microsoft.cache/redis?pivots=deployment-language-bicep
resource redis 'Microsoft.Cache/Redis@2023-08-01' = {
resource redis 'Microsoft.Cache/Redis@2024-11-01' = {
name: redisName
location: location
identity: {
Expand Down
Loading