Skip to content
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

docs: add tip for AWS Lambda deployments #3096

Merged
merged 2 commits into from
Feb 7, 2025
Merged

docs: add tip for AWS Lambda deployments #3096

merged 2 commits into from
Feb 7, 2025

Conversation

acidjazz
Copy link
Contributor

@acidjazz acidjazz commented Feb 5, 2025

πŸ”— Linked issue

resolves #3095

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@atinux atinux changed the title πŸ“ add tip for AWS Lambda deployments docs: add tip for AWS Lambda deployments Feb 6, 2025
Copy link

pkg-pr-new bot commented Feb 6, 2025

npm i https://pkg.pr.new/@nuxt/content@3096

commit: 920e754

@farnabaz
Copy link
Member

farnabaz commented Feb 6, 2025

Thanks for the PR @acidjazz
We can also create a new preset, and update the database location if it's not in /tmp directory. https://github.com/nuxt/content/blob/main/src/presets/index.ts

With the new preset the module could support Lamda with zero config.
The new preset will be similar to Vercel Preset except it changes the location if needed.
Can you update your PR with the new preset?

Co-authored-by: SΓ©bastien Chopin <atinux@gmail.com>
@acidjazz
Copy link
Contributor Author

acidjazz commented Feb 6, 2025

Thanks for the PR @acidjazz We can also create a new preset, and update the database location if it's not in /tmp directory. https://github.com/nuxt/content/blob/main/src/presets/index.ts

With the new preset the module could support Lamda with zero config. The new preset will be similar to Vercel Preset except it changes the location if needed. Can you update your PR with the new preset?

That sounds great! Should we merge this for now until that is done so people can avoid this issue?

@farnabaz farnabaz merged commit 25a0cd9 into nuxt:main Feb 7, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deploying to lambda: unable to open database file
3 participants