awslabs / awslabs/agentcore-samples

Amazon Bedrock AgentCore Samples - [Content Improvement - AWS IAM Permission]

Open
#99 1 comment 0 reactions 0 assignees View on GitHub
01-AgentCore-runtime 01-tutorials enhancement
Dominant language
Python
Stars
3.4k
Forks
1.3k
Avg merge
1d 22h
Merged PRs (30d)
30

Description

**Describe the improvement request**
A clear and concise description of what is being requested. This could be anything from:

Clear explanation of the required permissions in IAM is important. When I executed the following scripts,

launch_result = agentcore_runtime.launch()
launch_result

I was getting a different error message. After a long time troubleshooting, I realized that the addition of ENV PYTHONIOENCODING=utf8 in the Dockerfile resolved the issue (thanks to Mallik Panchumarthy for the help on this).

However, after updating the Dockerfile, I still faced an issue and realized I didn't have the proper permissions to access Bedrock-Agentcore.
If the required permissions were clearly mentioned in the tutorial, it would have helped for the smooth execution of the tutorial.

Contributor guide

Open the contributing guide

Research direction

Locate the tutorial that runs `launch_result = agentcore_runtime.launch()` and its Dockerfile, then review how the required Bedrock AgentCore IAM permissions are documented. Done means the tutorial clearly lists the permissions needed to execute the scripts and addresses the reported access problem, including the noted `PYTHONIOENCODING=utf8` workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
authorization, cloud, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.