Dryed up the flattening functions
Dryed up the flattening functions

terraform-providers/terraform-provider-aws,terraform-providers/terraform-provider-aws,terraform-providers/terraform-provider-aws,terraform-providers/terraform-provider-aws