Created
October 31, 2022 10:49
-
-
Save apr-1985/5938e838d8d8abefa567a25fefeac0ba to your computer and use it in GitHub Desktop.
AWS-Parameters-and-Secrets-Lambda-Extension-layers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_lambda_function" "parameter_layer_test" { | |
filename = "${path.module}/lambda_function_payload.zip" | |
function_name = "parameter_layer_test" | |
role = aws_iam_role.ssm_lambda_exec.arn | |
handler = "parameter_layer_test.lambda_handler" | |
runtime = "python3.9" | |
source_code_hash = filebase64sha256("${path.module}/lambda_function_payload.zip") | |
memory_size = 256 | |
timeout = 900 | |
layers = ["arn:aws:lambda:eu-west-1:015030872274:layer:AWS-Parameters-and-Secrets-Lambda-Extension:2", ] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment