{"id":30754237,"url":"https://github.com/twogg-git/serverless-go","last_synced_at":"2026-02-14T23:34:22.905Z","repository":{"id":83441884,"uuid":"241399909","full_name":"twogg-git/serverless-go","owner":"twogg-git","description":"Some simple examples with Go AWS and Lambda","archived":false,"fork":false,"pushed_at":"2020-02-18T15:44:21.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-04T09:31:04.460Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/twogg-git.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-18T15:42:00.000Z","updated_at":"2020-02-18T15:44:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"530f0c6e-9494-4026-9f12-abbb1f9c56a8","html_url":"https://github.com/twogg-git/serverless-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/twogg-git/serverless-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twogg-git%2Fserverless-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twogg-git%2Fserverless-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twogg-git%2Fserverless-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twogg-git%2Fserverless-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twogg-git","download_url":"https://codeload.github.com/twogg-git/serverless-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twogg-git%2Fserverless-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278791489,"owners_count":26046562,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-09-04T09:07:36.088Z","updated_at":"2025-10-07T14:36:44.149Z","avatar_url":"https://github.com/twogg-git.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# serverless-go\nSome simple examples with Go AWS and Lambda\n\n\n\nhttps://serverless.com/examples/\nhttps://github.com/serverless/serverless\n\n\nhttps://github.com/serverless/examples/tree/master/aws-java-simple-http-endpoint\n\nhttps://nodejs.org/en/download/\n\nhttps://console.aws.amazon.com/lambda/home?region=us-east-1#/applications    \n\nhttps://github.com/serverless/serverless/blob/master/docs/providers/aws/guide/credentials.md    \n```ssh \nexport AWS_ACCESS_KEY_ID=\u003cyour-key-here\u003e    \nexport AWS_SECRET_ACCESS_KEY=\u003cyour-secret-key-here\u003e    \n```\n\n```ssh\nmkdir .aws    \nvim credentials    \n[endava-med-aws]\naws_access_key_id = \u003cyour-key-here\u003e\naws_secret_access_key = \u003cyour-secret-key-here\u003e\n```\n\n```ssh\nserverless deploy --aws-profile endava-med-aws\n\ncurl https://zf6oolkvn6.execute-api.us-east-1.amazonaws.com/dev/ping\n\nserverless remove --aws-profile endava-med-aws\n```\n\nLearning Objectives\ncheck_circle\nCreate IAM Role for Lambda\nkeyboard_arrow_up\nIf a Lambda function needs to call other AWS services, we need to create an IAM role that it can assume at execution time.\n\nCreate an IAM role for our Lambda function to be able to connect with S3, Amazon Transcribe, and CloudWatch Logs:\n\nNavigate to the IAM console page.\nSelect Roles from the left-hand menu.\nSelect Create role.\nSelect Lambda as the trusted entity.\n\nAdd the following managed policies:\n-AmazonS3ReadOnlyAccess\n-AmazonTranscribeFullAccess\n-CloudWatchLogsFullAccess\n\nName the role \"lab-lambda-role\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwogg-git%2Fserverless-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwogg-git%2Fserverless-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwogg-git%2Fserverless-go/lists"}