You are using
AssumeRole to send cluster logs to a S3 bucket in another account and you get an access denied error.
AssumeRole does not allow you to send cluster logs to a S3 bucket in another account.
This is because the log daemon runs on the host machine. It does not run inside the container.
Only items that run inside the container have access to the Apache Spark configuration. This is required for
AssumeRole to work correctly.