<@ULVA73B9P> In an ECS Push work pool setup can an...
# ask-marvin
b
@Marvin In an ECS Push work pool setup can an AWS assumed role be used instead of a user?
m
In the context of ECS Push Work Pools with Prefect, AWS credentials are required to push work to ECS. The documentation suggests creating a user with the AmazonECS_FullAccess permission and storing the credentials for later use. There is nothing explicitly stating that an AWS assumed role cannot be used in the place of a user; however, it is common practice to use IAM roles for tasks like these. Typically, in AWS, you can assume an IAM role to delegate permissions to an AWS service like ECS, which should work for Prefect work pools as well, assuming the correct permissions are included in the role. Here are the relevant links to the documents: - ECS Push Work Pools Setup - Prefect AWS ECS Guide It is recommended to carefully review AWS IAM documentation regarding roles and try configuring the assumed role with the necessary permissions for ECS. If you encounter any issues, you may also want to consider searching GitHub issues for similar cases or reaching out to Prefect's community for further assistance.