the 'name' attribute is deprecated (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region#name-3) and has to be replaced by the 'region'