Question on updating bicep resource #28354
Unanswered
moerketh
asked this question in
Request Help
Replies: 2 comments 6 replies
-
Does the new version exist in https://raw.githubusercontent.com/Azure/bicep-types-az/main/generated/index.json ? |
Beta Was this translation helpful? Give feedback.
5 replies
-
#27556 is related to this. @NicolasBissig @splitt3r do you see anything missed in this proposed fix? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would you like help with?
I think I found a bug
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
Azure DevOps
Please tell us more about your question or problem
I'm wondering why Renovate does not generate an update PR for resource
Microsoft.OperationalInsights/workspaces@2021-06-01
while newer versionMicrosoft.OperationalInsights/workspaces@2023-09-01
should be available see here and present in the index.json. It seems to be working fine for other resources (for example a storageaccount).The difference seems to be that in that index.json the storageaccount version "2023-01-01" is listed under both "resource" and "resourceFunctions" while for Microsoft.OperationalInsights/workspaces version "2023-09-01" is listed under "resources" but only version "2015-03-20" is listed under "resourceFunctions".
I'm going to make a guess here. Since I'm not seeing a test for this particular case (where resources and resourceFunctions have different API versions listed). Could it be that this case is not correctly handled?
I've created a minimal example with full debug log in the readme here. Notice that only a PR for the storageaccount is created not for the Log Analytics workspace.
There relavant part of the log seems to be here, where no update is found:
Am I missing something else?
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions