You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ Error: retrieving Long Term Policies for Database "free" (Sql Server "xterra-114-mssql-1" ;Resource Group "xterra-114-mssql"): sql.BackupLongTermRetentionPoliciesClient#Get: Failure responding to r
equest: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="LongTermRetentionPolicyNotSupported" Message="Long Term Retention is not supported : Not supporte
d for database with Free edition."
│
│ with azurerm_mssql_database.free,
│ on mssql.tf line 15, in resource "azurerm_mssql_database" "free":
│ 15: resource "azurerm_mssql_database" "free" {
│
╵
╷
│ Error: retrieving Long Term Policies for Database "stretch" (Sql Server "xterra-114-mssql-1" ;Resource Group "xterra-114-mssql"): sql.BackupLongTermRetentionPoliciesClient#Get: Failure responding t
o request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="LongTermRetentionPolicyNotSupported" Message="Long Term Retention is not supported : Not suppo
rted for database with Stretch edition."
│
│ with azurerm_mssql_database.stretch,
│ on mssql.tf line 21, in resource "azurerm_mssql_database" "stretch":
│ 21: resource "azurerm_mssql_database" "stretch" {
│
╵
Expected Behaviour
Databases created successfully and terraform exits without error
Actual Behaviour
Databases created successfully but terraform exits with an error
Community Note
Terraform (and AzureRM Provider) Version
Terraform v1.0.3
on linux_amd64
Affected Resource(s)
azurerm_mssql_database
Terraform Configuration Files
Debug Output
https://gist.github.com/thllxb/3e2c1655e16221dbd70c97923ec5d44c
Panic Output
Expected Behaviour
Databases created successfully and terraform exits without error
Actual Behaviour
Databases created successfully but terraform exits with an error
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: