Create Elasticache Global Datastore with secondary replication group

Hi team, at first, thank you for a great product, we use it a lot and it’s really helpful.
My question.
I need to create the Elasticache Global Datastore from the scratch with primary and secondary replication groups, and I can’t find the way to do it. I try to use the version 3.32.0 (Allow adding member Replication Group to ElastiCache Global Replication Group by gdavison · Pull Request #17725 · hashicorp/terraform-provider-aws · GitHub), but it looks like I can just add the replica to existent Global Datastore, I need the global_replication_group_id value to do it, which is autogenerated after Global Datastore is created…
Is it any way to create the full global datastore with all replication groups?
Do I miss something?