Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
minor fixes to npm examples
  • Loading branch information
Massimo Maino committed Mar 26, 2022
commit dba58e7a214d82d60dc9a8e882151edc7c1bd646
2 changes: 1 addition & 1 deletion examples/build-package/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ module "package_dir_with_npm_install" {
source_path = "${path.module}/../fixtures/nodejs14.x-app1"
}

# Create zip-archive of a single directory without running "pip install" (which is default for python runtime)
# Create zip-archive of a single directory without running "npm install" (which is the default for nodejs runtime)
module "package_dir_without_npm_install" {
source = "../../"

Expand Down
2 changes: 1 addition & 1 deletion examples/fixtures/nodejs14.x-app1/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports.hello = async (event) => {
statusCode: 200,
body: JSON.stringify(
{
message: `Go Serverless v3.0! Your Nodejs function executed successfully!`,
message: `Go Serverless.tf! Your Nodejs function executed successfully!`,
input: event,
},
null,
Expand Down