How to manage Godaddy DNS with Terraform for Module use

Hi there,
I use Terraform to manage aws and Godaddy DNS.
I have been updating Godaddy dns with the (resource “godaddy_domain_record” xxx) manually previously but recently I also need to call a Terraform module that also needs to create some dns records. After my tests, I found that if there are more than one (resource “godaddy_domain_record” xxx), although with different name, it would only recognize one resource randomly, the one that took effect would overwrite the others.
Does anyone has experience and know how to fix ? Thanks.