Skip to content

Instantly share code, notes, and snippets.

@nivleshc
Created March 25, 2025 21:28
Show Gist options
  • Save nivleshc/6b92df6ae571eebcbbb684fef1585642 to your computer and use it in GitHub Desktop.
Save nivleshc/6b92df6ae571eebcbbb684fef1585642 to your computer and use it in GitHub Desktop.
This gist contains code from the file lambda.tf which is part of the blog-photo-location-map repository.
data "aws_iam_policy_document" "assume_role" {
statement {
effect = "Allow"
principals {
type = "Service"
identifiers = ["lambda.amazonaws.com"]
}
actions = ["sts:AssumeRole"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment