Closed danmermel closed 3 years ago
See if we can use this data object to simplify the way we upload the lambda code:
data "archive_file" "lambda_js" { type = "zip" source_file = "${path.module}/templates/index.js" output_path = "${path.module}/templates/lambda_function.zip" }
See if we can use this data object to simplify the way we upload the lambda code:
data "archive_file" "lambda_js" { type = "zip" source_file = "${path.module}/templates/index.js" output_path = "${path.module}/templates/lambda_function.zip" }