Metricbeat is getting failed when we enable aws metricbeat moulde

Could you maybe try a sub set of your config in aws.yml please? The error message looks like a config issue.