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:
How you installed ECS ComposeX'...'
How you are executing it ? : As a CLI tool, as a library, in lambda?
Link / share your Docker compose file
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):
OS: [e.g. Fedora/Windows/Mac]
Python version (3.6,3.7,3.8)
If you were doing things from a branch, which one?
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:
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):