I\'m creating a series of s3 buckets with this definition:
resource "aws_s3_bucket" "map" { for_each = local.bucket_settings bucket = each