Data source not respecting implicit dependencies and waiting for resource creation

Is anybody having similar issue where the data source is not respecting the implicit dependencies? Below is the error and terraform code.

Version Info
Terraform v0.12.26
provider.azurerm v2.29.0

> Error: Error: Resource Group “rgp-xxx” was not found
> **
> * on main.tf line 12, in data “azurerm_resource_group” “rgp”:

> * 12: data “azurerm_resource_group” “rgp” {

resource "azurerm_resource_group" "rgp" {
  name     = var.ops_resource_group_name
  location = var.ops_resource_group_location

  tags = merge(local.default_tags, var.ops_resource_group_tags)
}

data "azurerm_resource_group" "rgp" {
  name = azurerm_resource_group.rgp.name
}