title: Azure SQL back up setting in Terraform
body: <p>Trying to set a parameter in Terraform file to back-up an Azure SQL server.</p>
  
  <p>In AWS i can add a key like:</p>
  
  <pre><code>      allocated_storage = 1000
        engine_version = “13.00.4451.0.v1”
        backup_window = “18:00-18:30”
        backup_retention_period = 14
  </code></pre>
  
  <p>I can't find a similar key to back-up an Azure SQL. Below is the back up key that i have found in Terraform Docs and on the web:</p>
  
  <pre><code>  resource "azurerm_sql_server" "some_erver" {
      administrator_login          = "some_login"
      administrator_login_password = "some_password"
      location                     ="some_location"
      name                         = "some_server"
      resource_group_name          = "some_resource"
      version                      = "some_version"
  
    tags = {
      environment  = "t"
      stack-name   = "name"
      stack-number = "number"
      app-number   = "app-number"
      logicmonitor = "bool"
    }
    backup {
      frequency = "Daily"
      time      = "04:00"
    }
  
    retention_daily {
      count = 30
    }
  }
  </code></pre>
  
  <p>But the Terraform Apply pipeline fails with a message:</p>
  
  <pre><code>     Error: azurerm_sql_server.enxtz256-db01: : invalid or unknown key: backup
  
       Error: azurerm_sql_server.enxtz256-db01: : invalid or unknown key: retention_daily
  </code></pre>
  
  <p>Any help would be much appreciated</p>