Summary
This is the process to reproduce the error with output:
uv tool install iam_role_assumer
Resolved 9 packages in 83ms
Downloading botocore (12.7MiB)
Downloaded botocore
Prepared 9 packages in 221ms
Installed 9 packages in 145ms
+ boto3==1.36.20
+ botocore==1.36.20
+ click==8.1.8
+ iam-role-assumer==0.2.0
+ jmespath==1.0.1
+ python-dateutil==2.9.0.post0
+ s3transfer==0.11.2
+ six==1.17.0
+ urllib3==2.3.0
Installed 1 executable: iam_role_assumer
$(uv tool run iam_role_assumer assume -r arn:aws:iam::{aws_account_id}:role/{role_name})
warning: An executable named `iam-role-assumer` is not provided by package `iam-role-assumer`.
The: command not found
After downgrading to uv 0.5.30 it works without any issue.
Platform
Ubuntu 22 x86_64
Version
0.5.31
Python version
Python 3.11
Summary
This is the process to reproduce the error with output:
$(uv tool run iam_role_assumer assume -r arn:aws:iam::{aws_account_id}:role/{role_name})After downgrading to
uv 0.5.30it works without any issue.Platform
Ubuntu 22 x86_64
Version
0.5.31
Python version
Python 3.11