#4585 [BUG] Copilot does not have access to IAM role auth
Issue created by
pryce-turner
### Describe the bug
Container Tasks only have access to the default bucket as configured in propeller whereas Python Tasks have access to anything permitted in the IAM role attached to the pod. This prevents copilot from downloading objects from any non-default buckets. Additionally, the copilot init container will exit successfully, despite logging a permission denied error.
### Expected behavior
Copilot should have access to any buckets allowed in the IAM role. Those objects should be downloaded and made available to the ContainerTask. Copilot init container should fail upon access denied.
### Additional context to reproduce
Create and run a raw container task using any S3 link apart from the default bucket.
### Screenshots
No response
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flyte