https://github.com/twogg-git/serverless-go
  
  
    Some simple examples with Go AWS and Lambda 
    https://github.com/twogg-git/serverless-go
  
        Last synced: 28 days ago 
        JSON representation
    
Some simple examples with Go AWS and Lambda
- Host: GitHub
 - URL: https://github.com/twogg-git/serverless-go
 - Owner: twogg-git
 - Created: 2020-02-18T15:42:00.000Z (over 5 years ago)
 - Default Branch: master
 - Last Pushed: 2020-02-18T15:44:21.000Z (over 5 years ago)
 - Last Synced: 2025-09-04T09:31:04.460Z (2 months ago)
 - Size: 2.93 KB
 - Stars: 0
 - Watchers: 0
 - Forks: 0
 - Open Issues: 0
 - 
            Metadata Files:
            
- Readme: README.md
 
 
Awesome Lists containing this project
README
          # serverless-go
Some simple examples with Go AWS and Lambda
https://serverless.com/examples/
https://github.com/serverless/serverless
https://github.com/serverless/examples/tree/master/aws-java-simple-http-endpoint
https://nodejs.org/en/download/
https://console.aws.amazon.com/lambda/home?region=us-east-1#/applications    
https://github.com/serverless/serverless/blob/master/docs/providers/aws/guide/credentials.md    
```ssh 
export AWS_ACCESS_KEY_ID=    
export AWS_SECRET_ACCESS_KEY=    
```
```ssh
mkdir .aws    
vim credentials    
[endava-med-aws]
aws_access_key_id = 
aws_secret_access_key = 
```
```ssh
serverless deploy --aws-profile endava-med-aws
curl https://zf6oolkvn6.execute-api.us-east-1.amazonaws.com/dev/ping
serverless remove --aws-profile endava-med-aws
```
Learning Objectives
check_circle
Create IAM Role for Lambda
keyboard_arrow_up
If a Lambda function needs to call other AWS services, we need to create an IAM role that it can assume at execution time.
Create an IAM role for our Lambda function to be able to connect with S3, Amazon Transcribe, and CloudWatch Logs:
Navigate to the IAM console page.
Select Roles from the left-hand menu.
Select Create role.
Select Lambda as the trusted entity.
Add the following managed policies:
-AmazonS3ReadOnlyAccess
-AmazonTranscribeFullAccess
-CloudWatchLogsFullAccess
Name the role "lab-lambda-role".