ARM update fails with 2023-08-01 when setting updateChannel property
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Start by reproducing the second deployment from the issue's Bicep template using Microsoft.Cache/redis API version 2023-08-01 and the updateChannel property. Compare the behavior with that property removed and with older API versions; done means the existing-resource deployment no longer returns the NotModified error while retaining the intended update channel.
Written by the indexing model from the issue text.
Description
Deploying Azure Cache for Redis instance with bicep template below.
The initial deployment works as expected without any issues.
Running deployment again when resource already exists results with error:
"The unknown resource response code 'NotModified' is encountered."
Removing the line updateChannel: 'Stable' fixes the problem. Stable is the default either way.
The problem only affects version 2023-08-01 (older versions don't have this property).
resource redis 'Microsoft.Cache/redis@2023-08-01' = {
name: 'redis-${uniqueString(resourceGroup().id)}'
location: resourceGroup().location
properties: {
sku: {
name: 'Basic'
family: 'C'
capacity: 0
}
redisConfiguration: {
'maxmemory-reserved': '30'
'maxfragmentationmemory-reserved': '30'
'maxmemory-delta': '30'
}
enableNonSslPort: false
redisVersion: '6.0'
publicNetworkAccess: 'Disabled'
minimumTlsVersion: '1.2'
updateChannel: 'Stable'
}
}
- Dominant language
- PowerShell
- Stars
- 12
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/AzureCacheForRedis
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Azure/AzureCacheForRedis#15 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Azure/AzureCacheForRedis#14 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Azure/AzureCacheForRedis#12 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Azure/AzureCacheForRedis#10 · 1 comment ·
All issues in Azure/AzureCacheForRedis
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
bug needs-triage service/elbv2
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
hashicorp/terraform-provider-aws#50100 · 1 comment ·