See the "Networking" section for more details. Add a 1 second connect timeout to the AWS SDK If tracing is enabled at the provider level or at the warmer config level, the X-Ray client is automatically installed and X-Ray tracing is enabled. See "Permissions" section Support Tracing If no role is provided in the custom.warmup config, a default role with minimal permissions is created for each warmer.
Next, set up the plugin by adding the following properties to serverless.yml.
#NPM SERVERLESS PLUGIN TRACING INSTALL#
To install the plugin, execute the following command in the root of your project. ec2:DeleteNetworkInterface Resource: "* " Install and configure Serverless-LocalStack Plugin. name Name of the generated warmer lambda (defaults to $ # and one more row for each function that must be warmed up by the warmer # Warmer lambda to manage ENIS (only needed if deploying to VPC, ).You might want to keep it if you are doing some custom packaging (defaults to true) cleanFolder Whether to automatically delete the generated code folder.
folderName Folder to temporarily store the generated code (defaults to.
The options are the same for all the warmers: schedule: cron(0/5 * ? * SAT-SUN *) concurrency: 1 verbose: false testWarmer: schedule: cron(0/5 8-17 ? * MON-FRI *) concurrency: 10 verbose: true logRetentionInDays: 10 outOfOfficeHoursWarmer: