How to fix Error: Invalid for_each argument in Terraform | DevErrors