Comments (4)
Hi @robertd. Assuming you have copied the template from the README you will need to install @aws-sdk/client-secrets-manager
and any other dependencies your handler function imports.
from cdk-iam-credentials-rotator.
Howdy. I did install the dependencies... but I'm still getting that error. Do you happen to have an example repo?
{
"name": "iam-users-factory",
"version": "0.1.0",
"bin": {
"iam-keys-factory": "bin/iam-users-factory.js"
},
"scripts": {
"build": "tsc",
"watch": "tsc -w",
"test": "jest",
"cdk": "cdk"
},
"devDependencies": {
"@types/jest": "^26.0.10",
"@types/node": "^10.17.27",
"aws-cdk": "2.19.0",
"jest": "^26.4.2",
"ts-jest": "^26.2.0",
"ts-node": "^9.0.0",
"typescript": "~3.9.7"
},
"dependencies": {
"@aws-sdk/client-secrets-manager": "^3.58.0",
"aws-cdk-lib": "2.19.0",
"cdk-iam-credentials-rotator": "^1.4.0",
"constructs": "^10.0.0",
"source-map-support": "^0.5.16"
}
}
from cdk-iam-credentials-rotator.
I don't have a publicly shared example but here the package.json
from a repo I use to test this construct.
{
"name": "cdk-iam-credentials-rotator-test",
"version": "0.1.0",
"bin": {
"cdk-iam-credentials-rotator-test": "bin/cdk-iam-credentials-rotator-test.js"
},
"scripts": {
"build": "tsc",
"watch": "tsc -w",
"test": "jest",
"cdk": "cdk"
},
"devDependencies": {
"@types/jest": "^26.0.10",
"@types/node": "10.17.27",
"aws-cdk": "2.17.0",
"esbuild": "0",
"jest": "^26.4.2",
"ts-jest": "^26.2.0",
"ts-node": "^9.0.0",
"typescript": "~3.9.7"
},
"dependencies": {
"@aws-sdk/client-secrets-manager": "^3.58.0",
"aws-cdk-lib": "2.17.0",
"cdk-iam-credentials-rotator": "^1.4.0",
"constructs": "^10.0.0",
"source-map-support": "^0.5.16"
}
}
Closing as this sounds like an issue external to the construct.
from cdk-iam-credentials-rotator.
Hmm... I'm still stuck. IMHO having a working example would be very beneficial for the construct.
from cdk-iam-credentials-rotator.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cdk-iam-credentials-rotator.