Customers have been raising the issue, that the documentation for Terraform is unclear as they were running into errors when using the Terraform Provider.
Error: `disk_size_gb` cannot be used with Azure cluster
The reason is that Azure only provides the disk types.
This is more clearly defined in the API documentation - suggestion is to harmonise the two documentations and also transfer the table from the API documentation also to the Terraform documentation to make this clear:
|Azure disk type of the server’s root volume. If omitted, Atlas uses the default disk type for the selected providerSettings.instanceSizeName.
The following table lists the possible values for this field, and their corresponding storage size.
1 Default for M20 and M30 Azure clusters
2 Default for M40+ Azure clusters|