doc: update endpoint_url documentation #641
No reviewers
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#641
Loading…
Reference in a 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.