Not able to create the route53 weighted record same as aws console using terraform

i tried to create the route53 weighted record using terraform. when we try to create record i am not able to create same as aws gui.

terraform code

resource “aws_route53_record” “Weighted-record” {
zone_id = data.aws_route53_zone.route.zone_id
name = “test”
type = “A”
ttl = “1”

weighted_routing_policy {
weight = 10
}

set_identifier = “weighted”
records = [“1.1.1.1”,“2.2.2.2”]
}

terraform creation output

| test.example123.com | A | Weighted | 10 | 1.1.1.1 2.2.2.2

Expected creation out put

| test.rexample123.com | A | Weighted | 10 | 1.1.1.1
| test.example123.com | A | Weighted | 10 | 2.2.2.2

from aws gui i am able to created as expected output

can any one help me how i can create the recorded as per expected output using terraform