Regarding Terraform Snowflake Database Replication and using replication_configuration

I am trying to replicate database in two snowflake accounts with in same organization but it’s not happening. Moreover, it’s just creating two databases and when i checking show replication databases it’s not coming in that. The replication is enabled for both the accounts and i am able to replicate with manual command alter database <db_name> enable replication to <db_name2>

resource "snowflake_database" "with_replication" {
  name    = "testing_2"
  comment = "test comment 2"
  replication_configuration {
    accounts             = ["test_account1", "test_account_2"]
    ignore_edition_check = true