Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS ECS Tasks IAM Role #37

Open
bradleybluebean opened this issue Sep 7, 2024 · 0 comments
Open

AWS ECS Tasks IAM Role #37

bradleybluebean opened this issue Sep 7, 2024 · 0 comments

Comments

@bradleybluebean
Copy link

In the README section ECS Task IAM Role and Policies, you write

NOTE: As of this writing (10/14/2023) instance credentials for Python boto3 doesn't actually work in Superblocks. But a ticket is in process to fix this

I think the issue is that you're missing a variable in the SUPERBLOCKS_EXECUTION_ENV_INCLUSION_LIST environment variable of the agent container build. If you add AWS_CONTAINER_CREDENTIALS_RELATIVE_URI, the Python Worker in the ECS Tasks should be able to find the credentials necessary to interact with AWS APIs.
Info about this environment variable can be found in the AWS SDK docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant