You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
boto, when called by odo, is not using the temporary IAM credentials contained in EC2 instance metadata and fails with an authentication error when attempting to access S3.
Steps to reproduce:
Attach an EC2 Role with 'AmazonS3FullAccess' permissions to an EC2 instance.
Start python from shell running in EC2 instance, and use boto to list the AWS account's associated buckets:
>>> import boto
>>> c = boto.connect_s3()
>>> rs = c.get_all_buckets()
>>> rs
This succeeds. [<Bucket: ... >]
3. Attempt to load a CSV file in S3 into a pandas dataframe:
It appears that, when called from odo, boto is not using the temporary IAM credentials contained in the EC2 instance metadata.
The text was updated successfully, but these errors were encountered:
danielchalef
changed the title
odo not using boto config for attached EC2 Role
boto is not using the temporary IAM credentials contained in the EC2 instance metadata
Dec 12, 2017
danielchalef
changed the title
boto is not using the temporary IAM credentials contained in the EC2 instance metadata
boto not using the temporary IAM credentials contained in EC2 instance metadata
Dec 12, 2017
boto, when called by odo, is not using the temporary IAM credentials contained in EC2 instance metadata and fails with an authentication error when attempting to access S3.
Steps to reproduce:
This succeeds.
[<Bucket: ... >]
3. Attempt to load a CSV file in S3 into a pandas dataframe:
yields
It appears that, when called from odo, boto is not using the temporary IAM credentials contained in the EC2 instance metadata.
The text was updated successfully, but these errors were encountered: