REPOSITORY OVERVIEWLive repository statistics
★ 2Stars
⑂ 0Forks
◯ 0Open issues
◉ 2Watchers
32/100
OPENREPOHUB HEALTH SIGNALLimited signals
A transparent discovery signal based on current public GitHub metadata.
Recent activity35% weight
10 Community adoption25% weight
5 Maintenance state20% weight
100 License clarity10% weight
0 Project information10% weight
75 This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
README preview
Description
This project show you how to integrate an AWS Lambda along with AWS System Manager. It's based on Serverless Framework using Node JS template.
Pre Requirements
- You must have an AWS account
- You must have Serverless Framework installed
- You must have IAM permission to write and read in SSM (see policy.json file in the repository)
Steps
1 - Storing parameters
aws ssm put-parameter --name DB_HOST --value localhost --type String
aws ssm put-parameter --name DB_PORT --value 3306 --type String
2 - Creating project
sls create --template aws-nodejs --name <PROJECT-NAME>
3 - Setting serverless.yml
...
custom:
settings:
DB_HOST: ${ssm:DB_HOST}
DB_PORT: ${ssm:DB_PORT}
...
provider:
environment: ${self:custom.settings}
...
4 - Getting parameters
const myDbHost = process.env.DB_HOST
const myDbPort = process.env.DB_PORT
5 - Deploying project
sls deploy -v
Notice
All parameters defined in custom > setting section will be injected as environment variables in the settings of Lambda.
ALGORITHMICALLY RELATEDSimilar Open-Source Projects
Selected from shared topics, language and repository description—not editorial ratings.
Because I'm an AZURE all round developer, i decided to see what AWS is like and play with the environment. This Project is just an Exercise which shows an AWS Amplified Application using React JS, Node JS combined with an API Gateway endpoint and a LAMBDA Function to host the REST API
31/100 healthActive repository
JavaScriptNo license#amplify#aws#aws-lambda#aws-s3
⑂ 0 forks◯ 0 issuesUpdated Oct 10, 2022