docs/aws: Enhance the aws lambda function example to include environment (#10490)

pull/10492/head
Paul Stack 10 years ago committed by GitHub
parent 6760d589d6
commit 7ff079b338

@ -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"
}
}
}
```

Loading…
Cancel
Save