Skip to content

Commit

Permalink
chore(deps): update bicep dependencies (major) (#1621)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Resource | Change |
|---|---|
| Microsoft.App/managedEnvironments | `2024-02-02-preview` ->
`2024-03-01` |
| Microsoft.AppConfiguration/configurationStores | `2023-03-01` ->
`2024-05-01` |
| Microsoft.Cache/Redis | `2023-08-01` -> `2024-11-01` |
| Microsoft.Network/privateDnsZones | `2020-06-01` -> `2024-06-01` |
| Microsoft.Network/privateDnsZones/A | `2020-06-01` -> `2024-06-01` |
| Microsoft.Network/privateDnsZones/virtualNetworkLinks | `2020-06-01`
-> `2024-06-01` |
| Microsoft.Resources/resourceGroups | `2024-03-01` -> `2024-11-01` |

---

### Configuration

📅 **Schedule**: Branch creation - "before 7am on Sunday,before 7am on
Wednesday" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Altinn/dialogporten).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS43Mi4yIiwidXBkYXRlZEluVmVyIjoiMzkuMTA3LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ole Jørgen Skogstad <skogstad@softis.net>
Co-authored-by: Are Almaas <arealmaas@gmail.com>
  • Loading branch information
3 people authored and dagfinno committed Feb 4, 2025
1 parent d9e6582 commit 626c254
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 21 deletions.
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

0 comments on commit 626c254

Please sign in to comment.