From 7ff079b33819e47a8730622bf23c0beac2e12cb6 Mon Sep 17 00:00:00 2001 From: Paul Stack Date: Fri, 2 Dec 2016 14:54:06 +0200 Subject: [PATCH] docs/aws: Enhance the aws lambda function example to include environment (#10490) --- .../docs/providers/aws/r/lambda_function.html.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/source/docs/providers/aws/r/lambda_function.html.markdown b/website/source/docs/providers/aws/r/lambda_function.html.markdown index 33a27b332..9c37a6f23 100644 --- a/website/source/docs/providers/aws/r/lambda_function.html.markdown +++ b/website/source/docs/providers/aws/r/lambda_function.html.markdown @@ -40,6 +40,11 @@ resource "aws_lambda_function" "test_lambda" { role = "${aws_iam_role.iam_for_lambda.arn}" handler = "exports.test" source_code_hash = "${base64sha256(file("lambda_function_payload.zip"))}" + environment { + variables = { + foo = "bar" + } + } } ```