diff --git a/.travis.yml b/.travis.yml index 64d6db5..7c713c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: node_js node_js: - - "12" + - "14" install: # Install deps - npm install diff --git a/babelrc-node.js b/babelrc-node.js index 29df7ea..fcc8ce5 100644 --- a/babelrc-node.js +++ b/babelrc-node.js @@ -1,7 +1,7 @@ module.exports = { "presets": [["@babel/preset-env", { "targets": { - "node": "12" + "node": "14" } }]], "env": {} diff --git a/cloud_formation/event_multi_region_template/autotag_event_main-template.json b/cloud_formation/event_multi_region_template/autotag_event_main-template.json index 2a89961..b24554d 100644 --- a/cloud_formation/event_multi_region_template/autotag_event_main-template.json +++ b/cloud_formation/event_multi_region_template/autotag_event_main-template.json @@ -82,7 +82,7 @@ "Arn" ] }, - "Runtime": "nodejs12.x", + "Runtime": "nodejs14.x", "Timeout": 120, "Environment": { "Variables": { diff --git a/cloud_formation/event_multi_region_template/autotag_event_main-template.rb b/cloud_formation/event_multi_region_template/autotag_event_main-template.rb index 9bd210c..4d811cf 100755 --- a/cloud_formation/event_multi_region_template/autotag_event_main-template.rb +++ b/cloud_formation/event_multi_region_template/autotag_event_main-template.rb @@ -64,7 +64,7 @@ FunctionName: 'AutoTag', Handler: sub('autotag_event.handler'), Role: get_att('AutoTagExecutionRole', 'Arn'), - Runtime: 'nodejs12.x', + Runtime: 'nodejs14.x', # the ec2 instance worker will wait for up to 45 seconds for a # opsworks stack or autoscaling group to be tagged with the creator # in case the events come out of order diff --git a/cloud_formation/event_single_region_template/autotag_event-template.json b/cloud_formation/event_single_region_template/autotag_event-template.json index a0479bd..49df02d 100644 --- a/cloud_formation/event_single_region_template/autotag_event-template.json +++ b/cloud_formation/event_single_region_template/autotag_event-template.json @@ -65,7 +65,7 @@ "FunctionName" : "AutoTag", "Handler" : "autotag_event.handler", "Role" : { "Fn::GetAtt" : [ "AutoTagExecutionRole", "Arn" ] }, - "Runtime" : "nodejs12.x", + "Runtime" : "nodejs14.x", "Timeout" : 120, "Environment": { "Variables": {