Amazon EKS: how to configure S3 access for worker nodes?

I was finally able to get it working.

In the Getting Started guide, add the necessary permissions (AmazonS3FullAccess) to the NodeInstanceRole used by aws-auth-cm.yaml, after the "To launch your worker nodes" step, but before running the command kubectl apply -f aws-auth-cm.yaml.