Open raymondbutcher opened 4 years ago
This is a slightly unusual case. It's not using regular EC2 instance credentials. There is an .aws/credentials
file where the profile is defined with temporary session credentials.
This is probably fixed by 7b5ada56c2f33bb87f64ff97f6c27f221161d88d
Running Pretf on an EC2 instance with instance credentials raises an exception. Uninstalling this package fixes it.
This package should not call
sts.get_session_token()
when the credentials are EC2 instance credentials.