amplify-education / serverless-domain-manager

Serverless plugin for managing custom domains with API Gateways.
MIT License
941 stars 232 forks source link

Deployment errors using HTTPv2 #576

Closed asans closed 1 year ago

asans commented 1 year ago

Community Note

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

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.