Azure / Azure/bicep-registry-modules

[AVM Module Issue]: app-configuration failed to deploy when sku changed from Developer to Standard

Open
#6,271 7 comments 0 reactions 1 assignee Claimed by @JFolberth View on GitHub
Class: Resource Module :package: Language: Bicep :muscle: Needs: Core Team :genie: Needs: External Changes :hammer_and_pick: Type: AVM :a: :v: :m: Type: Bug :bug:
Dominant language
Bicep
Stars
736
Forks
564
Avg merge
3d 15h
Merged PRs (30d)
30

Description

### Check for previous/existing GitHub issues

- [x] I have checked for previous/existing GitHub issues

### Issue Type?

Bug

### Module Name

avm/res/app-configuration/configuration-store

### (Optional) Module Version

0.9.2

### Description

The module created app config with sku = 'Developer'.
When I wanted to upgrade to 'Standard' it fails with error

`The property 'SoftDeleteRetentionInDays' is not valid. The soft delete retention period cannot be modified. (Code:InvalidProperty)`

```bicep
param sku string

module appConfig 'br/public:avm/res/app-configuration/configuration-store:0.9.2' = {
name: '${deployment().name}-appconfig'
scope: resourceGroup(subscriptionId, effectiveResourceGroupName!)
dependsOn: [rg]
params: {
location: location
name: 'riki-config-appcs-prod2'
sku: sku
softDeleteRetentionInDays: 7
}
}
```

### (Optional) Correlation Id

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.