title: terraform plan error : unsupported argument : An argument named "point_in_time_recovery_enabled" is not expected here
body: <p>I'am trying to create a google cloud sql instance via terraform and i have to enable point in time recovery option but I have the following error :</p>
  <p>Error: Unsupported argument</p>
  <p>on cloud-sql.tf line 39, in resource &quot;google_sql_database_instance&quot; &quot;si_geny_postgres_logfaces&quot;:
  39: point_in_time_recovery_enabled = true</p>
  <p>An argument named &quot;point_in_time_recovery_enabled&quot; is not expected here.</p>
  <p><strong>here is my terraform file</strong> :</p>
  <pre><code>resource &quot;google_sql_database_instance&quot; &quot;si_geny_postgres_logfaces&quot; {
  
    project          = google_project.current_project.project_id
    region           = var.region
    name             = &quot;si-sql-instance&quot;
    database_version = &quot;POSTGRES_12&quot;
  
    lifecycle {
      prevent_destroy  = true
      ignore_changes = [
        settings[0].disk_size, name
      ]
    }
  
    settings {
  
      tier = &quot;db-custom-2-7680&quot;
      availability_type = &quot;REGIONAL&quot;
  
      ip_configuration {
        ipv4_enabled    = false
        private_network = data.google_compute_network.si_shared_vpc.self_link
      }
  
      location_preference {
        zone = var.gce_zone
      }
  
      #disk
      disk_type       = &quot;PD_SSD&quot;
      disk_autoresize = true
      disk_size       = 10 #GB
  
      backup_configuration {
        binary_log_enabled = false
        point_in_time_recovery_enabled = true
        enabled    = true
        start_time = &quot;00:00&quot;    // backup at midnight (GMT)
        location   = var.region // Custom Location for backups =&gt; BACKUP REGION
      }
  
      maintenance_window {
        day = 1
        hour = 3
        update_track = &quot;stable&quot;
  
      }
    }
  }
  </code></pre>
  <p>main.tf</p>
  <pre><code>terraform {
    required_version = &quot;&gt;0.12.18&quot;
  }
  
  provider &quot;google&quot; {
    version = &quot;=3.20.0&quot;
    project = var.project_id
    region = var.region
    zone = var.gce_zone
  }
  
  provider &quot;google-beta&quot; {
    version = &quot;=3.20.0&quot;
    project = var.project_id
    region = var.region
    zone = var.gce_zone
  }
  </code></pre>
  <p>Any idea please?</p>