Azure / Azure/bicep-registry-modules
[AVM Module Issue]: 0.5.1~0.8.3 incompatible with BYO vnet PodSubnetID `container-service/managed-cluster`
- 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/container-service/managed-cluster
### (Optional) Module Version
0.5.1
### Description
0.8.3 ❌ braking change is still included
0.5.1 ❌ introduced a braking change when used with BYO vnet "PodSubnetID"
0.5.0 ✅ worked fine previously
```
primaryAgentPoolProfiles: [
{
vnetSubnetResourceId: aksSystemNodeSubnet.id
podSubnetResourceId: aksSystemPodSubnet.id
// other config omitted..
}
]
agentPools: [
{
vnetSubnetResourceId: aksUserNodeSubnet.id
podSubnetResourceId: aksUserPodSubnet.id
// other config omitted..
}
]
networkDataplane: 'cilium'
networkPlugin: 'azure'
networkPluginMode: null
```
which results with the following error:
```
Preflight validation check for resource(s) for container service myakscluster in resource group myresourcegroup failed.
Message: NetworkPluginMode overlay cannot be used with PodSubnetID.
Details: (Code: BadRequest)
```
### (Optional) Correlation Id
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.