Terraform AWS - create 2 cloudwatch alarms

Hi guys.
Newbie here in terraform. In my cloudformation.tf I made 2 blocks of resource “aws_cloudformation_stack” which have the same code but only names and few variables are different. When I pushed it, only one block was executed thus only 1 alarm was created. It seems like the other one was totally ignored. Any ideas?