amplify-education / serverless-domain-manager

Serverless plugin for managing custom domains with API Gateways.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deployment errors using HTTPv2

asans opened this issue Β· comments

Community Note

  • Please vote on this issue by adding a πŸ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Bug Report

Error Description
When deploying using the new 7.0.3, domain deployment is issuing an error:

Error: V2 - Unable to fetch information about 'abc.domain.com':
Could not load credentials from any providers
    at APIGatewayV2Wrapper.<anonymous> (/Users/asans/proj/vpm-marketing/common/temp/node_modules/.pnpm/serverless-domain-manager@7.0.3_serverless@3.30.1/node_modules/serverless-domain-manager/dist/src/aws/api-gateway-v2-wrapper.js:74:27)
    at Generator.throw (<anonymous>)
    at rejected (/Users/asans/proj/vpm-marketing/common/temp/node_modules/.pnpm/serverless-domain-manager@7.0.3_serverless@3.30.1/node_modules/serverless-domain-manager/dist/src/aws/api-gateway-v2-wrapper.js:6:65)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

This issue does not happen on 6.4.4.

Command Run
sls deploy -s prod

Domain Manager Configuration

Versions

  • Domain Manager version(s): 7.0.3
  • Node/npm version: 16.x
  • AWS SDK: 2.x
  • Serverless Version: 3.30.1
  • Lambda Code Javascript

Possible Solution
I am using Serverless Pro app where credentials are being retrieved and used from Serverless.com side. Could this possibly be a problem?

Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.