-
Notifications
You must be signed in to change notification settings - Fork 70
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
Deployment fails "site: Access Denied" #6
Comments
Hmmm that's odd 🤔 ... Does your AWS credentials have admin access? Could you try deploying the website independently by running the following command:
|
I am having the same type of issues. When deploying first time or directly from root seems that is working ok. |
@eahefnawy Same result if I deploy from the site folder and the AWS credentials have admin access.
|
Strange, why do you have a different org everytime? 🤔 @JanIHC Could you let me know your org name and your username in the Serverless Dashboard? I'll try to look this up in our internal logs. |
@eahefnawy my org name on serverless.com is janasmuth please ignore the other ones. Could it be an issue that I'm trying to deploy to 'ap-southeast-2'? |
I ran serverless info --debug but still not sure what's wrong. Will serverless components try to activate Public access on the bucket? We have deactivated public access on account level.
|
@eahefnawy do you have any other ideas what could be the issue or what I could try? |
Wanted to bump this as I'm seeing the same issue! Are there some aws permissions I am missing? My cli user has the AdministratorAccess policy so I'm not sure what is left to try adding. |
I was able to find a workaround for this by giving the |
Have the same issue |
any solution? |
I found the solution, I had to send an email since I did not have cloudfront activated and wait 2 days for it to be activated, I tried again and everything works correctly |
Hi all, one thing that got me past this point was adding S3, all permissions (hard to tell which one was needed from the error message). The other IAM errors were well-communicated but this was opaque. Hope it helps! |
I'm having the same issue but only for one of my two environments (Dev & Prod). Whenever I try to deploy to Prod, the If I try to change the S3 bucket name (following @tapegram 's advice) within
Both IAM users have admin access. |
Any idea why I'm getting a "site: Access Denied" error during the deployment to our environment?
The text was updated successfully, but these errors were encountered: