compose-x / ecs_composex

Manage, Configure and Deploy your services and AWS services and applications from your docker-compose definitions
https://docs.compose-x.io
Mozilla Public License 2.0
160 stars 16 forks source link

[BUG] GrantTaskAccess incorrect policy assignment #654

Closed MuyiwaOla closed 1 year ago

MuyiwaOla commented 1 year ago

Describe the bug When attempting to grant secret access to RDS task role . The current version attaches the RDS Db policy to the execution role instead of the task role.

To Reproduce Steps to reproduce the behavior:

  1. How you installed ECS ComposeX'...'
  2. How you are executing it ? : As a CLI tool, as a library, in lambda?
  3. Link / share your Docker compose file
  4. See error

Expected behavior I expect GrantTaskAccess to provide access to the task role, not the Execution role.

Logs If applicable, add logs of errors using from ECS ComposeX

Desktop (please complete the following information):