Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
╷
│ Error: expected minimum_tls_version to be one of ["1.0" "1.1" "1.2" "Disabled"], got 1.3
│
│ with azurerm_mssql_server.example,
│ on db.tf line 13, in resource "azurerm_mssql_server" "example":
│ 13: minimum_tls_version = "1.3"
│
╵
Expected Behaviour
A database server should be created with a minimum TLS setting of 1.3.
Hi @peer-lhind I think the reason is because of the API azurerm is using. We might need to upgrade it to 2023-08-01.
I will see if it is an easy/fast change. If so, I will submit a PR soon.
Is there an existing issue for this?
Community Note
Terraform Version
1.8.5
AzureRM Provider Version
3.106.1
Affected Resource(s)/Data Source(s)
azurerm_mssql_server
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
A database server should be created with a minimum TLS setting of 1.3.
Actual Behaviour
The plan step fails.
Steps to Reproduce
No response
Important Factoids
No response
References
'1.3' is a valid version number according to https://learn.microsoft.com/en-us/rest/api/sql/servers/create-or-update?view=rest-sql-2023-08-01-preview&tabs=HTTP#request-body .