-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
table_import_from_s3 in localstack has Access Key error #25
Comments
@huiser I've tried also adding a secret key of wget http://localstack:4566/my-bucket/test.csv
Resolving localstack (localstack)... 172.25.0.3
Connecting to localstack (localstack)|172.25.0.3|:4566... connected.
HTTP request sent, awaiting response... 200
Length: 133635 (131K) [text/csv]
Saving to: 'test.csv' and if I use import boto3
s3client = boto3.client('s3', region_name='us-west-2', endpoint_url='http://localstack:4566', aws_access_key_id='none', aws_secret_access_key='none', aws_session_token='none')
print(s3client.get_object(Bucket='my-bucket',Key='test.csv'))
{'ResponseMetadata': {'RequestId': '1I8DPGPWYI21YKAKHO9Z5Y33OSA74FQU5UTOQ08LJCHZFUJ9TGY7', 'HTTPStatusCode': 200, ...
...
... So if boto3 can connect in my simple example above, do you think this is a bug in Besides this possibly being a bug, I see a lot of benefits to this since credentials are optional in Amazon's Also, The reason I don't use credentials is because I only communicate internally within my VPC (between RDS, S3, and Lambda). I am using an external (local) postgres database only because currently localstack doesn't have full/free support for RDS. Thanks to docker, I can bridge connections to a local postgres database which is otherwise identical to RDS. |
I found the alternative method that allows me to specify postgres-aws-s3/aws_s3--0.0.1.sql Line 41 in b817be9
Not ideal though since it doesn't mirror my production code, which uses the This is a great project! Thanks for sharing :) |
I am trying to import s3 data from localstack, using:
none
is what I use for all localstack calls but using that results in:I have ensured this bucket is publicly accessible via:
The text was updated successfully, but these errors were encountered: