Skip to content

Instantly share code, notes, and snippets.

@jasdeepkhalsa
Created February 5, 2021 17:33
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 jasdeepkhalsa/8a567d7a518f85760d5bb7ce5dcbfccf to your computer and use it in GitHub Desktop.
Save jasdeepkhalsa/8a567d7a518f85760d5bb7ce5dcbfccf to your computer and use it in GitHub Desktop.
Role -> Trust Relationship on Principle to enable Lambda@Edge for a given Lambda
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": [
"lambda.amazonaws.com",
"edgelambda.amazonaws.com"
]
},
"Action": "sts:AssumeRole"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment