milliHQ / terraform-aws-next-js

Terraform module for building and deploying Next.js apps to AWS. Supports SSR (Lambda), Static (S3) and API (Lambda) pages.
https://registry.terraform.io/modules/milliHQ/next-js/aws
Apache License 2.0
1.47k stars 151 forks source link

Q: What permissinos are needed for deployment? #371

Closed berkeli closed 2 years ago

berkeli commented 2 years ago

Hello,

I'm trying to deploy but getting an error that profile doesn't have right permissions. I don't have a full access account, so would it be possible to describe what's needed for the deployment?

Error: Authentication failed.
Make sure that the AWS user has the correct permissions.
Could not upload deployment package.
berkeli commented 2 years ago

I set it to execute-api:*, which did the trick. execute-api:Invoke wasn't enough