pulumi/tests/testdata/codegen/aws-lambda-pp/aws-lambda.pp

16 lines
344 B
Puppet

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