Open cnunciato opened 11 months ago
How about you create a library for the custom resource? It would quickly become the standard for NextJs + Pulumi, rather than having to copy paste from the example code all the time. I see a NextJs app and its related resources as 1 component, that either exists as a unit or not
How about you create a library for the custom resource? It would quickly become the standard for NextJs + Pulumi, rather than having to copy paste from the example code all the time. I see a NextJs app and its related resources as 1 component, that either exists as a unit or not
Strongly agree with this, could be a huge boost for people to switch over to Pulumi over vercel, sst, railway and flightcontrol if there is a simple imported library with one configuration object and plug and play instead of a big template.
Would also be much easier to contribute to.
Feedback from @filipef101 on the original PR:
Amazing, just sharing my experimentations with this: Notes:
What I've learned about making @edge lambdas, since I couldn't find anything on Pulumi docs, to deploy a lambda to edge the steps are:
... Service: ['edgelambda.amazonaws.com', 'lambda.amazonaws.com'] ...
x86_64
Looks kind of simple to support edge deployments, the terraform example I've seen does it based on a flag using different settings based on it.
I've looked at https://github.com/RJPearson94/terraform-aws-open-next for context lambda main