pulumi/pkg/codegen/testing/test/testdata/aws-lambda-pp/aws-lambda.pp

14 lines
305 B
Puppet

resource iamForLambda "aws:iam:Role" {}
resource testLambda "aws:lambda:Function" {
code = fileArchive("lambda_function_payload.zip")
role = iamForLambda.arn
handler = "index.test"
runtime = "nodejs12.x"
environment = {
variables = {
"foo" = "bar"
}
}
}