Skip to content

Support maintenance_batch in Flexible Server maintenance_window #33238

Description

@batchissuhg-spec

Is there an existing issue for this?

  • I have searched the existing issues

ARM API Version Stability

  • I confirm that this feature request relies on a stable ARM API, or I have read the guide and believe this request qualifies for an exception.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions