-
Notifications
You must be signed in to change notification settings - Fork 143
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
[S3]Replace AWS CLI configuration and add it in s3.py configuration #1082
[S3]Replace AWS CLI configuration and add it in s3.py configuration #1082
Conversation
connectors/sources/s3.py
Outdated
"region": { | ||
"display": "textarea", | ||
"label": "AWS Region name", | ||
"order": 4, | ||
"type": "str", | ||
"value": "us-east-1", | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does it affect the S3 connector?
Does it restrict which buckets can be synced?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We were facing some exception related to None type region when try to run the connector without passing region name. However it's not reproducible now and looks like there might be some issue in our s3 configuration that time.
We tested our connector removing the region as you suggested and found that without passing region name our connector is working fine with all type of buckets.
So we can remove the dependency of region & I've updated PR with the same too
We need to update readme for s3 as well but we don't have permission to update it. Can you please update these 3 points there? |
cc @danajuratoni - we need to update readme, should we do it ourselves or forward to the tech writers? |
…nto remove-awscli-dependency
…/connectors-python into remove-awscli-dependency
…/connectors-python into remove-awscli-dependency
…1082) (#1122) Co-authored-by: akanshi-elastic <[email protected]> Co-authored-by: Artem Shelkovnikov <[email protected]>
Closes https://github.com/elastic/connectors-python/issues/1032###
This PR includes:
1.Add aws keys to connector specific configuration to make it run as native connector
Checklists
Pre-Review Checklist
v7.13.2
,v7.14.0
,v8.0.0
)