sst / sst

Build modern full-stack applications on AWS

Home Page:https://sst.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deployment error (next.js) for a new AWS account (free)

12evgen opened this issue · comments

Following the instructions (https://docs.sst.dev/start/nextjs), I'm trying to set up the SST for the next.js application
I created a new AWS account (free), set up an AIM account according to the instructions (https://docs.sst.dev/advanced/iam-credentials#loading-from-a-file).

After the npx create-sst@latest command, I see the changes in my repository. And after that I run npx sst dev. My application is starting.
image

Now I am trying to deploy my application and I get an error: "Access denied for operation 'AWS::CloudFront::Distribution: Your account must be verified before you can add new CloudFront resources. To verify your account, please contact AWS Support"
image

How can this problem be solved?

commented

Hmm have you tried contacting AWS support about this?

@jayair Yes, I contacted support but I haven't received a response yet.
However, such a bug was noticed in this issue - #3429

Welp, can confirm this also. I am trying to delete my dev stage resources and deploy the prod one. I think it has something to do with resources, sst creating many resources for NextjsSite stack.