[azurerm_mysql_server] Error: expected version to be one of [5.6 5.7], got 8.0

Hello,

I am stuck when deploying an azurerm_mysql_server resource :
Error: expected version to be one of [5.6 5.7], got 8.0

The argument that causes the problem is the version I declare that is not accepted: “8.0”

The documentation states that only version values “5.6” and “5.7” are accepted.

Is it possible to pass this check?
When is the next update of the azurerm plugin planned?

Thank you in advance for your help. :slight_smile:

Hi @aberva,

If version 8.0 is already accepted by the upstream Azure API but rejected by Terraform, you could open an AzureRM provider feature request for adding that support. It doesn’t seem like this is already tracked by an existing feature request issue.