-
Notifications
You must be signed in to change notification settings - Fork 324
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
Missing region in AWS setup (e.g. datalink) #9284
Comments
After discussion with @jdunkerley, we don't need to add the region to credentials yet. For S3 which is global it is enough to default to any region (e.g. We still should adapt our tests as written above to catch such things in the future. |
Radosław Waśko reports a new STANDUP for yesterday (2024-03-25): Progress: Added default region to AWS Credentials. Turns out S3 API rejects connection if wrong region is specified. Work on resolving the region of a bucket - apparently this is much harder than it should be. Finally found a solution that seems to work. It should be finished by 2024-03-26. Next Day: Next day I will be working on the same task. Adapt some tests of default credentials through allowing an override. Fix remaining issues and prepare a PR. |
Radosław Waśko reports a new STANDUP for yesterday (2024-03-26): Progress: Getting the pending PRs merged (one was failing due to case insensitivity of paths on Windows ignoring my rename...). Added some more tests for AWS_Credential in the S3 region PR, fixed an exception where AWS_Credential.profile_names was crashing if no AWS config was found. Implemented one more small fix to use new endpoints: #9551. It should be finished by 2024-03-26. Next Day: Next day I will be working on the #8590 task. Move forward with work on types refactor. Start path-based Enso_File refactor. |
- Closes #9284 - Now our tests run without the default `AWS_` config, thus ensuring that the tested setups work in a clean environment. - After all, more complicated logic was needed for buckets access - apparently the AWS SDK only allows for some operations on buckets to happen if the client is connected to the correct region. Thus detection of bucket regions had to be implemented. - Added `AWS_Region` widget based on autoscoping. - Fixed `AWS_Credential.profile_names` crashing if no AWS config was found. Now it returns no profiles if not found. Added a regression test.
I have noticed that because I've created a datalink to an S3 file, containing my AWS key credentials. So I should be able to read this datalink without setting up any additional credentials on my machine, right? Because the credentials are inside of the datalink itself.
Well, unfortunately - this uncovered that something is missing.
Reading the datalink I get:
AWS_Credential
although we could make it a separate property as well.ENSO_AWS_*
prefix, so that AWS tooling does not pick them up automatically. Then we can manually set up ourAWS_Credential
for use in the tests.AWS_Credential.Default
variant.The text was updated successfully, but these errors were encountered: