func GetAttachedPoliciesMapForGroups(groups []string, svc *iam.Client) map[string]string {
	result := make(map[string]string)
	for _, group := range groups {
		groupmap := GetAttachedPoliciesMapForGroup(&group, svc)
		for k, v := range groupmap {
			result[k] = v
		}
	}
	return result
}
// GetAttachedPoliciesMapForGroups retrieves a map of attached policies for the
// slice of IAM groupnames where the key is the name of the policy and the value
// is the actual json policy document
GetAttachedPoliciesMapForGroups retrieves a map of attached policies for the
slice of IAM groupnames where the key is the name of the policy and the value
is the actual json policy document
// GetAttachedPoliciesMapForGroups retrieves a map of attached policies for the // slice of IAM groupnames where the key is the name of the policy and the value // is the actual json policy document
func GetAttachedPoliciesMapForGroups(groups []string, svc *iam.Client) map[string]string {
	result := make(map[string]string)
	for _, group := range groups {
		groupmap := GetAttachedPoliciesMapForGroup(&group, svc)
		for k, v := range groupmap {
			result[k] = v
		}
	}
	return result
}
func GetAttachedPoliciesMapForGroups ( groups [ ] string , svc * iam . Client ) map [ string ] string { result := make ( map [ string ] string ) for _ , group := range groups { groupmap := GetAttachedPoliciesMapForGroup ( & group , svc ) for k , v := range groupmap { result [ k ] = v } } return result }
GetAttachedPoliciesMapForGroups retrieves a map of attached policies for the
slice of IAM groupnames where the key is the name of the policy and the value
is the actual json policy document
GetAttachedPoliciesMapForGroups retrieves a map of attached policies for the slice of IAM groupnames where the key is the name of the policy and the value is the actual json policy document