-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azurerm_mssql_server minimum_tls_version
cannot be removed once set, please set a valid value for this property
#21882
Comments
We are seeing the same issue. It worked 18. April with azurerm version We changed ~ minimum_tls_version = "None" -> "1.0" edit: resource "azurerm_mssql_server" "server" {
name = "${azurerm_resource_group.rg.name}szokjf-sqlsvr"
resource_group_name = azurerm_resource_group.rg.name
location = azurerm_resource_group.rg.location
version = "12.0"
administrator_login = "sqlsvradminlogin"
administrator_login_password = ***
public_network_access_enabled = false
minimum_tls_version = "Disabled"
identity {
type = "SystemAssigned"
}
} |
For those with this issue we have had to go with: resource "azurerm_mssql_server" "server" {
lifecycle {
ignore_changes = [
minimum_tls_version,
]
}
} It is not ideal, but it unblocks our builds. |
Thanks for opening this issue. A related PR (#22067) has been merged and was released in v3.60.0. Please upgrade to that version or the latest, thanks! If this is still an issue with the provider please do let us know by opening a new issue. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Is there an existing issue for this?
Community Note
Terraform Version
1.3.7
AzureRM Provider Version
3.57.0
Affected Resource(s)/Data Source(s)
azurerm_mssql_server
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Terraform plan executed without any issues
Actual Behaviour
SQL instance has been deployed a while ago and didn't have any changes since that. Today
terrafrom plan
start failing with│ Error: 1 error occurred:
│ *
minimum_tls_version
cannot be removed once set, please set a valid value for this propertySteps to Reproduce
terraform init
terraform plan
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: