RJPearson94 / terraform-aws-open-next

Terraform Module for Open Next
https://registry.terraform.io/modules/RJPearson94/open-next/aws/latest
Apache License 2.0
76 stars 12 forks source link

Add support for OpenNext v3 #16

Closed RJPearson94 closed 6 months ago

RJPearson94 commented 10 months ago

Is your feature request related to a problem

The maintainers are working on V3 of OpenNext; this is currently in the release candidate phase. V3 introduces the ability to split the server function into multiple functions, external middleware, additional configuration around edge functions and more. More information can be found at: https://open-next.js.org/v3

Describe the solution you'd like

TBD. Where possible, the changes should be backwards compatible.

Additional context

It appears RC2 is feature complete, so it can be used to build the functionality.

To prevent duplication, it might be worth investigating whether the open-next.config.ts file (or a generated equivalent) can be read/ used to generate the desired infrastructure. This could be extended to include optionally controlling the building of the website (via open next cli).