data "aws_subnet" "all_db" { for_each = toset(data.aws_subnets.all_db.ids) id = each.value }
data., toset, each.
Advertising: