Is there an existing issue for this?
ARM API Version Stability
Community Note
N/A — Community Note not applicable for this feature request.
Description
Terraform AzureRM Provider
I would like to request support for the maintenance_batch property in the maintenance_window block of the Flexible Server resource.
Affected Resource
azurerm_postgresql_flexible_server
Current Terraform configuration
Currently, the maintenance_window block supports properties such as:
maintenance_window {
day_of_week = 0
start_hour = 1
start_minute = 0
}
However, there is no Terraform argument available for configuring the maintenance batch.
Requested change
Please add support for the maintenance_batch property to the maintenance_window block, for example:
maintenance_window {
day_of_week = 0
start_hour = 1
start_minute = 0
maintenance_batch = "Batch"
}
This would allow users to configure the maintenance batch through Terraform instead of having to configure it separately outside of Terraform.
Expected behaviour
Terraform should accept maintenance_batch as part of the Flexible Server maintenance_window configuration and apply the corresponding value to the Azure Flexible Server resource.
Actual behaviour
maintenance_batch is not currently exposed/supported by the Terraform AzureRM provider, so it cannot be configured through the Terraform resource.
Additional information
The existing maintenance_window documentation currently exposes day_of_week, start_hour, and start_minute, but does not include maintenance_batch.
Please consider adding support for this property.
New or Affected Resource(s)/Data Source(s)
azurerm_mysql_flexible_server
Potential Terraform Configuration
References
No response
Is there an existing issue for this?
ARM API Version Stability
Community Note
N/A — Community Note not applicable for this feature request.
Description
Terraform AzureRM Provider
I would like to request support for the maintenance_batch property in the maintenance_window block of the Flexible Server resource.
Affected Resource
azurerm_postgresql_flexible_server
Current Terraform configuration
Currently, the maintenance_window block supports properties such as:
maintenance_window {
day_of_week = 0
start_hour = 1
start_minute = 0
}
However, there is no Terraform argument available for configuring the maintenance batch.
Requested change
Please add support for the maintenance_batch property to the maintenance_window block, for example:
maintenance_window {
day_of_week = 0
start_hour = 1
start_minute = 0
maintenance_batch = "Batch"
}
This would allow users to configure the maintenance batch through Terraform instead of having to configure it separately outside of Terraform.
Expected behaviour
Terraform should accept maintenance_batch as part of the Flexible Server maintenance_window configuration and apply the corresponding value to the Azure Flexible Server resource.
Actual behaviour
maintenance_batch is not currently exposed/supported by the Terraform AzureRM provider, so it cannot be configured through the Terraform resource.
Additional information
The existing maintenance_window documentation currently exposes day_of_week, start_hour, and start_minute, but does not include maintenance_batch.
Please consider adding support for this property.
New or Affected Resource(s)/Data Source(s)
azurerm_mysql_flexible_server
Potential Terraform Configuration
References
No response