Created
March 23, 2023 20:23
-
-
Save hendrixroa/de85e842aae01d63fc72602f3b0c7e2f to your computer and use it in GitHub Desktop.
Lambda module definition to provision
This file contains 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
module "lambda_noiselesstech" { | |
source = "../terraform-aws-lambda" // A public registry path is allowed too | |
code_location = "./lambdas/example" | |
filename = "example.zip" | |
lambda_function_name = "NoiselesstechExample" | |
lambda_runtime = "nodejs14.x" | |
layer_arn = module.layer.arn | |
environment_variables = { | |
secret = "super secret value" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment