We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With 1.0.2, get an error like:
16:21:30 | CREATE_FAILED | Custom::SesSmtpCredentials | Credentials/Resource/Default Failed to create resource. Error: Cannot find module 'strftime' Require stack: - /var/task/index.js - /var/runtime/UserFunction.js - /var/runtime/index.js
Inspection of the installed files shows:
$ ls node_modules/ses-smtp-credentials-cdk/provider index.ts jest.config.js lib package.json package-lock.json tsconfig.json
So something has gone a bit awry in the build and publish steps, because there's no node_modules/ there, which I would expect to find.
node_modules/
I also tried importing like:
import { SesSmtpCredentials } from 'ses-smtp-credentials-cdk/lib';
which gets the same error, and:
$ ls node_modules/ses-smtp-credentials-cdk/lib/provider index.js
The text was updated successfully, but these errors were encountered:
Intended approach: use CDK's NodejsFunction.
NodejsFunction
Sorry, something went wrong.
Fixed by #4
No branches or pull requests
With 1.0.2, get an error like:
Inspection of the installed files shows:
So something has gone a bit awry in the build and publish steps, because there's no
node_modules/
there, which I would expect to find.I also tried importing like:
which gets the same error, and:
The text was updated successfully, but these errors were encountered: