@rlyle1179/serverless-aws-batch 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/schedule.js +4 -0
  2. package/package.json +1 -1
package/lib/schedule.js CHANGED
@@ -36,6 +36,10 @@ module.exports.schedule = (event, context, callback) => {
36
36
 
37
37
  console.log(`Submitting job: ${jobName} with jobDefinition: ${jobDefinition} to queue: ${jobQueue}`);
38
38
 
39
+ // delete headers from the event, we are exceeding the 8092 limit for container overrides
40
+ delete event.headers;
41
+ delete event.multiValueHeaders;
42
+
39
43
  let params = {
40
44
  jobDefinition: jobDefinition,
41
45
  jobName: jobName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlyle1179/serverless-aws-batch",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "Serverless Framework Plugin for interacting with AWS Batch",
5
5
  "main": "index.js",
6
6
  "scripts": {