Skip to content

Instantly share code, notes, and snippets.

@Mirch
Created January 24, 2022 18:12
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 Mirch/1a80ca224a15a7472a1e2e199da9364d to your computer and use it in GitHub Desktop.
Save Mirch/1a80ca224a15a7472a1e2e199da9364d to your computer and use it in GitHub Desktop.
resource "aws_lambda_function" "get_user_lambda" {
function_name = "GetUser"
source_code_hash = data.archive_file.lambda_get_user_archive.output_base64sha256
filename = data.archive_file.lambda_get_user_archive.output_path
handler = "func"
runtime = "provided"
role = aws_iam_role.lambda_execution_role.arn
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment