https://pulumi.com logo
#general
Title
# general
c

cool-flag-35794

06/16/2023, 5:57 PM
I have a new use case to add a React wfe to Pulumi. Anyone built anything like this yet?
m

millions-furniture-75402

06/16/2023, 6:14 PM
For AWS, build artifacts go into S3 and get frontend by CloudFront, such as https://github.com/pulumi/examples/tree/master/aws-ts-static-website
m

miniature-musician-31262

06/16/2023, 6:45 PM
Might be even easier to start with a static-website template: https://www.pulumi.com/templates/static-website/aws/
c

cool-flag-35794

06/16/2023, 6:50 PM
So the use case is not actually deploying a website but building an interactive website to the Pulumi SDK. Much like LENS IDE. Except here we could dynamically adjust and allocate resources.
m

millions-furniture-75402

06/16/2023, 7:06 PM
The easiest way to get started is against the Pulumi REST API. Then you might want to consider if your needs require your own RESTful service that can leverage the automation api for my complex orchestration and templating.
c

cool-flag-35794

06/16/2023, 7:15 PM
That's the route I was thinking as well.
Just putting feelers out to see if anyone had begun that process.
m

millions-furniture-75402

06/16/2023, 7:17 PM
I think it falls in line with Pulumi's vision for the service, considering the steps they've taken with deployments.
Anyway, a react front-end for managing a resource graph that can generate a plan is pretty sweet. I've seen some basic versions of it, but nothing too impressive coverage-wise yet.