Azure / Azure/bicep-registry-modules

[AVM Module Issue]: Deployment fails when changing agentPoolProfile.vmSize

Open
#7,130 5 comments 0 reactions 1 assignee Claimed by @JPEasier View on GitHub
Class: Resource Module :package: Needs: Immediate Attention :bangbang: Needs: Triage :mag: Status: Response Overdue :triangular_flag_on_post: Type: AVM :a: :v: :m: Type: Feature Request :heavy_plus_sign:
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?

Feature Request

### Module Name

avm/res/container-service/managed-cluster

### (Optional) Module Version

1.13.1

### Description

When redeploying a cluster having changed the value of agentPoolProfile.vmSize, I get the following error message:

`##[error]PropertyChangeNotAllowed: Preflight validation check for resource(s) for container service aks-cdk-dev-westeurope in resource group rg-cdk-aks-dev-westeurope failed. Message: Changing property "agentPoolProfile.vmSize" is not allowed in an api-version before "2026-01-02-preview".. Details:
`

Can we get this module bumped to the latest schema version to unlock this feature?

### (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.