WindmillWWindmill
Powered by
ChesongC
Windmill•8mo ago
Chesong

[Typescript BUN]: Listing all objects within S3 Bucket

I am trying to get a list of all ".pngs" within a s3 bucket folder which then feeds the dropdown selector we have on Windmill. Right now it's hardcoded where we have a background runnable and a mapping like this. I have already connected the resource and am able to get region, bucketname, etc using

await wmill.getResource('u/path/brisk_s3_aws_oidc')
await wmill.getResource('u/path/brisk_s3_aws_oidc')

but I am unsure how to get all the images listed under a certain directory
const iconToUrlMapping = {
"image1": "https://cdn.s3.amazonaws.com/images/icons/image1.png",
"image2": "https://cdn.s3.amazonaws.com/images/icons/image2.png",
};
const iconToUrlMapping = {
"image1": "https://cdn.s3.amazonaws.com/images/icons/image1.png",
"image2": "https://cdn.s3.amazonaws.com/images/icons/image2.png",
};


Note: We use the enterprise version of Windmill.
WindmillJoin
3,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 6d ago

rubenf

Infrastructure as code

rubenf · 4w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

Minio bucket on railway.app and workspace S3 storage
badsequelBbadsequel / help
3y ago
Bun - not working typescript intellisense on imported npm modules
ReiRRei / help
3y ago
How to build a media pipeline around a S3 bucket and Docker
Mio MotoMMio Moto / help
7mo ago
Cursor MPC Error listing offerings
José PeñaJJosé Peña / help
10mo ago