code: func (task *Task) getAllSSMSecretRequirements() map[string][]apicontainer.Secret {
  	reqs := make(map[string][]apicontainer.Secret)
  
  	for _, container := range task.Containers {
  		for _, secret := range container.Secrets {
  			if secret.Provider == apicontainer.SecretProviderSSM {
  				if _, ok := reqs[secret.Region]; !ok {
  					reqs[secret.Region] = []apicontainer.Secret{}
  				}
  
  				reqs[secret.Region] = append(reqs[secret.Region], secret)
  			}
  		}
  	}
  	return reqs
  }
docs: // getAllSSMSecretRequirements stores all secrets in a map whose key is region and value is all
  // secrets in that region