Open razor5678 opened 3 years ago
The module should also support volume tier update without recreation if the feature is activated.
Actually :
# module.netapp.azurerm_netapp_volume.netapp["my-volume"] must be replaced
-/+ resource "azurerm_netapp_volume" "netapp" {
[...]
name = "my-volume"
~ pool_name = "my-pool-01" -> "my-pool-02" # forces replacement
~ service_level = "Standard" -> "Premium" # forces replacement
[...]
}
Expected :
# module.netapp.azurerm_netapp_volume.netapp["my-volume"] will be updated
~ resource "azurerm_netapp_volume" "netapp" {
[...]
name = "my-volume"
~ pool_name = "my-pool-01" -> "my-pool-02"
~ service_level = "Standard" -> "Premium"
[...]
}
Is there any update on this issue ? we are having similar situation where we want to change the Standard to Ultra, but there is no support in terraform without re-creating of the resources. Is there any alternative solution/workaround ?
Community Note
Description
Currently, we don't see an option to Dynamically change a service level of an ANF volume in Terraform.
https://docs.microsoft.com/en-us/azure/azure-netapp-files/dynamic-change-volume-service-level
New or Affected Resource(s)
azurerm_netapp_volume
Potential Terraform Configuration
References
https://docs.microsoft.com/en-us/azure/azure-netapp-files/dynamic-change-volume-service-level
0000