-
Notifications
You must be signed in to change notification settings - Fork 1
Implementation for OpenNext deployment on AWS #578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 06a6ae9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
5aad6bb
to
fa7cf81
Compare
variable "enable_waf" { | ||
type = bool | ||
description = "Whether to enable WAF for enhanced protection." | ||
default = false | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: can't the WAF be always enabled? what is our suggestion about the WAF?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not mandatory, I updated the variable description for more guidance. Mainly useful for sensitive production applications. Enabling WAF adds costs
default = null | ||
} | ||
|
||
variable "node_major_version" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
variable "node_major_version" { | |
variable "node_version" { |
type = object({ | ||
timeout = optional(number, 30) | ||
memory_size = optional(number, 1024) | ||
handler = optional(string, "index.handler") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: what is the meaning of index.handler
? is it a reference to a file named index.handler.js
produced by next
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
index is the name of the main file where the handler function is implemented. The handler function is the entry point of the lambda and it is produced by opennext in this case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, great job! ✅
Co-authored-by: Mario Mupo <[email protected]>
📋 Pre-commit Output Log
Generated on Thu Oct 16 17:30:34 UTC 2025 |
The infrastructure that is currently running the https://developer.pagopa.it website 🚀
Resolves CES-1018