Open sergelogvinov opened 2 years ago
Hello, I want to add our Use Case here:
Azure has now VM series that support different disk controller: With SCSI only, NVME only or both.
Example with az cli
az vm list-skus --location westeurope --size Standard_E16bds_v5
...
"capabilities": [
...
{
"name": "DiskControllerTypes",
"value": "SCSI,NVMe"
},
If we can get this information from a datasource, we can write code that dynamically prefers the NVMe adapter if available.
This would be very helpful if someone switches the SKU from a NVMe (only) VM size to a SCSI (only) VM size. We can support those SKU changes easier.
Is there an existing issue for this?
Community Note
Description
Data source
azurerm_virtual_machine_size
helps to define VM capabilities by SKU name. The capabilities which very interested:New or Affected Resource(s)/Data Source(s)
azurerm_virtual_machine_size
Potential Terraform Configuration
References
Go SDK has such methods already, first method has more details about VM