Jesse Skinner :javascript: on Nostr: TIL: to get the location of any S3 bucket, you can just do: curl -sI ...
TIL: to get the location of any S3 bucket, you can just do:
curl -sI bucketname.s3.amazonaws.com
and the answer is in the header:
x-amz-bucket-region: us-east-1
#aws #webdev
Published at
2025-01-13 15:30:34Event JSON
{
"id": "5486b105088f069b3ea492cfce301f59f219fc55958afd9d7de9d3af1843e03f",
"pubkey": "ec950969771e5eb6e15d6bc17a97111aeaeb1088823b745be222344f1825f630",
"created_at": 1736782234,
"kind": 1,
"tags": [
[
"t",
"aws"
],
[
"t",
"webdev"
],
[
"proxy",
"https://toot.cafe/users/JesseSkinner/statuses/113821760503126330",
"activitypub"
]
],
"content": "TIL: to get the location of any S3 bucket, you can just do:\n\ncurl -sI bucketname.s3.amazonaws.com\n\nand the answer is in the header:\n\nx-amz-bucket-region: us-east-1\n\n#aws #webdev",
"sig": "0e45a1c1c187ac7387fea47731468150d4da7e18bc8665b0161c797f5b5c94bb0fcd9ab2aa9850559e2c635cc86eb44fcdb4215cf0a63a5de6fa9c04d4823474"
}