How does .*. notation works on list

I wonder how .*. works on list resources? I used to use following notation:


but in this particular case it doesn’t work for some reason and getting

value = data.google_compute_subnetwork.peered.*.ip_cidr_range

This object does not have an attribute named "ip_cidr_range".

For my code:

data "google_compute_network" "default"{
  name = "default"
  project = var.project

data google_compute_subnetwork "peered" {
  for_each = toset(data.google_compute_network.default.subnetworks_self_links)
  self_link = each.value