Amazon ECS - Permission denied when using IAM role on Docker entrypoint
问题 I'm looking for a way to inject secrets/certificates into Amazon ECS containers. In my case, it's a simple nginx container. I've been following this post, using AWS Parameter Store: https://aws.amazon.com/blogs/compute/managing-secrets-for-amazon-ecs-applications-using-parameter-store-and-iam-roles-for-tasks/ Here's the basic gist: On my Dockerfile, I attach a script on entrypoint which installs the AWS client and fetches the keys from AWS parameter store. Dockerfile FROM nginx:1.16.0 ...