{"id":19772033,"url":"https://github.com/danieldacosta/lambda-ssm-ec2","last_synced_at":"2026-05-10T12:16:33.119Z","repository":{"id":112641664,"uuid":"486317310","full_name":"DanielDaCosta/lambda-ssm-ec2","owner":"DanielDaCosta","description":"Lambda that executes Shell Script inside EC2 using SSM","archived":false,"fork":false,"pushed_at":"2022-04-29T13:32:23.000Z","size":34,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T01:10:37.965Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/DanielDaCosta.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":"2022-04-27T19:00:37.000Z","updated_at":"2023-11-18T05:45:53.000Z","dependencies_parsed_at":"2023-06-02T06:30:31.841Z","dependency_job_id":null,"html_url":"https://github.com/DanielDaCosta/lambda-ssm-ec2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Flambda-ssm-ec2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Flambda-ssm-ec2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Flambda-ssm-ec2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Flambda-ssm-ec2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielDaCosta","download_url":"https://codeload.github.com/DanielDaCosta/lambda-ssm-ec2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241101665,"owners_count":19909943,"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":[],"created_at":"2024-11-12T05:05:09.193Z","updated_at":"2026-05-10T12:16:31.228Z","avatar_url":"https://github.com/DanielDaCosta.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lambda SSM EC2\nLambda that executes Shell Script inside EC2 using [AWS Systems Manager Run Command](https://docs.aws.amazon.com/systems-manager/latest/userguide/execute-remote-commands.html).\n\n# Diagram\n![Architecture](Architecture.png)\n\n# Env Variables\n```\nINSTANCE_NAME  =  The ID of the managed node where the command should run\nSNS_ROLE       =  The ARN of the service role to use Amazon SNS notifications for Run Command commands.\nSNS_ARN        =  An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic.       \nBUCKET_NAME    =  The name of the S3 bucket where command execution responses should be stored.\n```\n\n# References\n- boto3 SSM Send Command: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ssm.html#SSM.Client.send_command\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldacosta%2Flambda-ssm-ec2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanieldacosta%2Flambda-ssm-ec2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldacosta%2Flambda-ssm-ec2/lists"}