doc: update endpoint_url documentation #641
No reviewers
Labels
No Label
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#641
Loading…
Reference in New Issue
No description provided.
Delete Branch "flokli/garage:aws-endpoint-url"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since
awscli
>=1.29.0
or>=2.13.0
it is now possible to use theAWS_ENDPOINT_URL
environment variable, or theendpoint_url
configkey to override the endpoint URL. This means, the aws bash function to
wrap with --endpoint-url is not necessary anymore. Update invocations to
reflect that.
https://docs.aws.amazon.com/sdkref/latest/guide/feature-ss-endpoints.html
https://github.com/aws/aws-cli/issues/4454#issuecomment-1626116607
I'm not sure about the CI failure, if it's unrelated or not, and I can't rekick it from my side.
I retried the CI and it still fails. There is an error at log line 176 (there doesn't appear to be an anchor to link directly to it :-/ ).
CI appears to be using aws-cli 2.11.6, I'm not sure how to upgrade, but that's probably why.
Ah, in that case we'd probably need to do a nixpkgs bump (which would however also bump rustc)
I guess I can just revert the change in
dev-env-aws.sh
for now, and add a TODO to update this on the next nixpkgs bump.04a1b6513d
tocb359b4434
Awscli 2.13 is not yet available in nixpkgs stable (it's in unstable, though, so should be in nixpkgs 23.11). Also, upgrading our nixpkgs dependency is a big task with many complications, so let's handle that separately.