aws-samples / aws-marketplace-serverless-saas-integration

Example of serverless integration for SaaS products listed on the AWS Marketplace.
MIT No Attribution
128 stars 76 forks source link

Updating register-new-subscriber.js to enable storing of subscriber AWS Account ID #43

Closed lenopip closed 2 years ago

lenopip commented 2 years ago

Issue 38

Description of changes: -updated aws-sdk to version 2.1078.0 -updated register-new-subscriber.js to store CustomerAWSAccountId response from marketplacemetering.resolveCustomer()

Please don't merge until lambda updates globally to use version 2.1078.0 of the node sdk. This change could introduce errors if running on a lambda environment using an older version of the aws-sdk since marketplacemetering.resolveCustomer() wouldn't return the expect CustomerAWSAccountId.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

lenopip commented 2 years ago

need to correct the package-lock file