{"id":16758515,"url":"https://github.com/kessler/aws-sls-docker-deployer","last_synced_at":"2025-03-16T08:20:55.106Z","repository":{"id":215044602,"uuid":"737978767","full_name":"kessler/aws-sls-docker-deployer","owner":"kessler","description":"deploy serverless lambdas to aws using aws linux containers","archived":false,"fork":false,"pushed_at":"2024-01-07T12:26:42.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-08T08:12:39.907Z","etag":null,"topics":["aws","aws-lambda","docker","serverless","serverless-framework"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/kessler.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":"2024-01-02T05:52:31.000Z","updated_at":"2025-02-23T20:51:40.000Z","dependencies_parsed_at":"2024-11-22T07:38:06.572Z","dependency_job_id":null,"html_url":"https://github.com/kessler/aws-sls-docker-deployer","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"e29dd2aeb439171e3958ad78d80e559ae61dc790"},"previous_names":["kessler/aws-sls-docker-deployer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Faws-sls-docker-deployer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Faws-sls-docker-deployer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Faws-sls-docker-deployer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kessler%2Faws-sls-docker-deployer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kessler","download_url":"https://codeload.github.com/kessler/aws-sls-docker-deployer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243842132,"owners_count":20356610,"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","aws-lambda","docker","serverless","serverless-framework"],"created_at":"2024-10-13T04:05:34.829Z","updated_at":"2025-03-16T08:20:55.081Z","avatar_url":"https://github.com/kessler.png","language":"Shell","readme":"# aws-sls-docker-deployer\n\nCreates docker images to deploy serverless lambdas to aws linux. This is good for when you have native deps that need to be compiled to aws linux before they are used.\n\nBasically, runs `npm install` / `pipenv install` inside the container and then runs `serverless deploy`\n\nThere are two \"flavors\" one for nodejs and one for python.\n\nThe nodejs one is set on node v18 while the python is set for v3.9\n\n## building the images\n\nmake sure you have docker installed then `./build-node.sh` or `./build-python.sh`\n\n## using the images\n\nThe images accept the source via mounting to a preset directory (/app). To use the image, run it:\n\n```bash\ndocker run --env-file .awsenv -v `pwd`:/app sls-node-deployer --stage=dev\n```\n1. the ```.awsenv``` file should contain the environment variables: \n\n```ini\nAWS_ACCESS_KEY_ID=id here\nAWS_SECRET_ACCESS_KEY=secret here\n```\n\nif using aws sso, then this file can be generated via:\n\n```bash\naws configure export-credentials --profile \u003cyour profile name here\u003e --format env-no-export \u003e .awsenv\n```\n\n2. ```-v \\`pwd\\`:/app``` mounts the current directory to /app dir inside the container, this is where the lambda's code should be.\n\n3. all the arguments after `sls-node-deployer` are passed \"as is\" to `sls deploy` command, in this example ```--stage=dev``` is passed\n\n## TODO\n1. complete python implementation\n2. fix code replication between node/python related files\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkessler%2Faws-sls-docker-deployer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkessler%2Faws-sls-docker-deployer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkessler%2Faws-sls-docker-deployer/lists"}