hey guys! i've been trying to deploy a static website in an s3 bucket wth golang. when i run pulumi up, and click on my bucket i see a single file "website". what is the right way to do this with pulumi? since the static webpage has other files
a
adorable-activity-71456
05/28/2024, 9:48 PM
You need an object for each file (each file is a separate resource). Your program can crawl that directory and add a resource (BucketObject) for each file.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.