Azure / Azure/Azure-Landing-Zones
service_endpoints no longer supported in avm-res-network-virtualnetwork 0.16.0
- Dominant language
- PowerShell
- Stars
- 96
- Forks
- 70
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 7
Description
### Check for previous/existing GitHub issues
- [x] I have checked for previous/existing GitHub issues
### Issue Type?
I'm not sure
### (Optional) Module Version
0.1.0
### (Optional) Correlation Id
_No response_
### Description
First of all, thanks for the great work on the AVM modules.
While updating to avm-ptn-alz-sub-vending v0.1.0, I noticed one detail that might need attention.
In our configuration, the subnets are defined using the property:
```
service_endpoints = optional(set(string))
```
However, in avm-res-network-virtualnetwork this input has been updated and now expects:
```
service_endpoints_with_location = optional(list(object({
service = string
locations = optional(list(string), ["*"])
})))
```
As a result, our existing subnet definitions are no longer compatible with the module.
Please update alz-sub-vending to align with the updated VNet module, or provide guidance on how to correctly map the previous service_endpoints structure to the new service_endpoints_with_location format.
Contributor guide
Assessment
This issue has not been assessed yet.