serverless-nuxt icon indicating copy to clipboard operation
serverless-nuxt copied to clipboard

Access Denied error with no details

Open ffxsam opened this issue 2 years ago • 0 comments

Hi,

Our deploy process is suddenly failing, with no changes made on our end. Running SLS_DEBUG=1 sls deploy --stage prod, this is the last bit of the output:

Serverless: Invoke aws:deploy:deploy
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service presentation.zip file to S3 (25.99 MB)...
Serverless Nuxt Plugin: after upload artifacts
Serverless Nuxt Plugin: upload asset files

 Access Denied -------------------------------------------

  AccessDenied: Access Denied
      at Request.extractError (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/services/s3.js:714:35)
      at Request.callListeners (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
      at Request.emit (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
      at Request.emit (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/request.js:688:14)
      at Request.transition (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/request.js:22:10)
      at AcceptorStateMachine.runTo (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/state_machine.js:14:12)
      at /Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/state_machine.js:26:10
      at Request.<anonymous> (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/request.js:38:9)
      at Request.<anonymous> (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/request.js:690:12)
      at Request.callListeners (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
      at Request.emit (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
      at Request.emit (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/request.js:688:14)
      at Request.transition (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/request.js:22:10)
      at AcceptorStateMachine.runTo (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/state_machine.js:14:12)
      at /Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/state_machine.js:26:10
      at Request.<anonymous> (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/request.js:38:9)
      at Request.<anonymous> (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/request.js:690:12)
      at Request.callListeners (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
      at callNextListener (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/sequential_executor.js:96:12)
      at IncomingMessage.onEnd (/Volumes/SuperData/work/v2-presentation/node_modules/aws-sdk/lib/event_listeners.js:336:13)
      at IncomingMessage.emit (events.js:412:35)
      at IncomingMessage.emit (domain.js:475:12)
      at endReadableNT (internal/streams/readable.js:1334:12)
      at processTicksAndRejections (internal/process/task_queues.js:82:21)

There's no bucket mentioned, no indication of what the plugin was trying to do. I even ran this using an IAM user that has admin access, and it still failed.

Any idea how I can begin to pinpoint the problem?

ffxsam avatar Mar 27 '22 20:03 ffxsam