{"id":19373735,"url":"https://github.com/waelson/serverless-parameter-store","last_synced_at":"2025-06-26T06:33:40.283Z","repository":{"id":120617130,"uuid":"364624398","full_name":"Waelson/Serverless-Parameter-Store","owner":"Waelson","description":"This project show you how to integrate an AWS Lambda along with AWS System Manager. It is based on Serverless Framework using NodeJS template.","archived":false,"fork":false,"pushed_at":"2021-05-06T12:14:05.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-24T15:21:58.686Z","etag":null,"topics":["aws-lambda","javascript","node","nodejs","parameter-store","serverless-framework","ssm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Waelson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-05T15:32:45.000Z","updated_at":"2021-05-06T12:14:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"945bf779-aa0c-4473-9ec4-671fb0596e21","html_url":"https://github.com/Waelson/Serverless-Parameter-Store","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Waelson/Serverless-Parameter-Store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Waelson%2FServerless-Parameter-Store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Waelson%2FServerless-Parameter-Store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Waelson%2FServerless-Parameter-Store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Waelson%2FServerless-Parameter-Store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Waelson","download_url":"https://codeload.github.com/Waelson/Serverless-Parameter-Store/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Waelson%2FServerless-Parameter-Store/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262014956,"owners_count":23245236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-lambda","javascript","node","nodejs","parameter-store","serverless-framework","ssm"],"created_at":"2024-11-10T08:31:22.713Z","updated_at":"2025-06-26T06:33:40.260Z","avatar_url":"https://github.com/Waelson.png","language":"JavaScript","readme":"## Description\nThis project show you how to integrate an AWS Lambda along with AWS System Manager. It's based on Serverless Framework using Node JS template.\n\n---\n\n### Pre Requirements\n- You must have an AWS account\n- You must have Serverless Framework installed\n- You must have IAM permission to write and read in SSM (see policy.json file in the repository)\n\n\n## Steps\n### 1 - Storing parameters\n```bash\naws ssm put-parameter --name DB_HOST --value localhost --type String\n```\n```bash\naws ssm put-parameter --name DB_PORT --value 3306 --type String\n```\n### 2 - Creating project\n```bash\nsls create --template aws-nodejs --name \u003cPROJECT-NAME\u003e\n```\n### 3 - Setting serverless.yml\n```yml\n...\ncustom:\n  settings:\n    DB_HOST: ${ssm:DB_HOST}\n    DB_PORT: ${ssm:DB_PORT}\n...    \nprovider:\n  environment: ${self:custom.settings}\n...\n```  \n### 4 - Getting parameters\n```javascript\n  const myDbHost = process.env.DB_HOST\n  const myDbPort = process.env.DB_PORT\n```\n\n### 5 - Deploying project\n```bash\nsls deploy -v\n```\n\n## Notice\nAll parameters defined in ```custom \u003e setting``` section will be injected as environment variables in the settings of Lambda. \n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaelson%2Fserverless-parameter-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaelson%2Fserverless-parameter-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaelson%2Fserverless-parameter-store/lists"}