Same Grafana terraform code is acting differently in two different environments

As shown in the below image, the same terraform code is applied in two different environments (aws apsouth-1(A) and aws apnotheast-1(B)). A is able to pick the alert rules correctly, but B is not able to pic the alert rules. It is showing 0 alerts.

The applied terraform code is same

Regards,
Prashanth