Skip to content

Instantly share code, notes, and snippets.

@adenosinew
Created August 24, 2019 04:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adenosinew/aaea8903e8e27bfbfde029f4ad9e3d92 to your computer and use it in GitHub Desktop.
Save adenosinew/aaea8903e8e27bfbfde029f4ad9e3d92 to your computer and use it in GitHub Desktop.
[AWS Go] Use aws go sdk
sess, err := session.NewSession(&aws.Config{
Region: aws.String("us-west-2"),
Credentials: credentials.NewStaticCredentials(conf.AWS_ACCESS_KEY_ID, conf.AWS_SECRET_ACCESS_KEY, ""),
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment