Closed okigan closed 5 years ago
@tinyzimmer see this one
Yep this would work I think. Only thing to note is botocore
will flip out if any of the envvars are set also since those take precedence over IAM instance profiles. But if someone was shooting for that functionality they probably wouldn't have them set to begin with.
You probably want to add botocore
to the requirements.txt file, as per https://github.com/okigan/awscurl/pull/54
Add support to fallback to instance credentials by using optionally installed botocore - this may change in future as the story for support of roles and MFA(s) still not clear (see https://github.com/okigan/awscurl/issues/44)