- Newest
- Most votes
- Most comments
The error is: "AccessDenied: Your account must be verified before you can add new CloudFront resources. To verify your account, please contact AWS Support (https://console.aws.amazon.com/support/home#/) and include this error message.:" I suggest you try to create a CloudFront distribution via the Web Console, CLI, or API.
I understand your frustration with encountering this CloudFront verification issue while trying to use SST's NextJS integration. This is a common hurdle that new AWS accounts or accounts that haven't used CloudFront before may face.
The error message you're seeing is a security measure implemented by AWS to prevent potential misuse of CloudFront resources. It's not specific to SST or NextJS, but rather a general AWS account verification requirement.
To resolve this issue, you'll need to contact AWS Support to verify your account. Here's what you should do:
- Log in to the AWS Management Console
- Navigate to the AWS Support Center
- Click on "Create case"
- Choose "Account and billing support"
- For the case details, use a subject like "Account Verification for CloudFront Resource Creation"
- In the description, include the error message you received
- Select "Service Limit Increase" as the category
- Choose "CloudFront" as the service
- For the limit type, select "Other Limits" or the most appropriate option
- Submit the case
AWS Support will review your case and respond, potentially requesting additional information or verification documents. This process is typically quick, especially for account verification issues.
While this extra step may seem inconvenient, it's part of AWS's security measures to protect its services and users. Once your account is verified, you should be able to proceed with using CloudFront and the SST NextJS integration without further issues.
It's worth noting that this verification process is a one-time requirement. After your account is verified, you won't face this issue again when creating new CloudFront resources in the future.
Sources
AWS account needs to be verified before you can add new CloudFront resources | AWS re:Post
Relevant content
- asked 2 years ago
- asked a year ago
- asked 2 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a month ago
It might be out of topic. You might use Amplify Hosting to get similar deployment experience for Next.js apps like Vercel.