From 2287de784c99bbca2ca522c3dbadee6c89f90b09 Mon Sep 17 00:00:00 2001 From: _sam <3804518+aahung@users.noreply.github.com> Date: Thu, 2 Nov 2023 11:45:37 -0700 Subject: [PATCH 1/3] doc: Replace EOL nodejs16.x from README (#3398) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 099bac1c5c..26cc8f8f8f 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Resources: MyFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs16.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | exports.handler = async (event) => { @@ -56,7 +56,7 @@ Resources: } Handler: index.handler Role: !GetAtt MyFunctionRole.Arn - Runtime: nodejs16.x + Runtime: nodejs18.x Tags: - Key: lambda:createdBy Value: SAM From 4ff61a5493e7099f893407737a9862d1d216fe32 Mon Sep 17 00:00:00 2001 From: Xia Zhao <78883180+xazhao@users.noreply.github.com> Date: Fri, 3 Nov 2023 13:06:15 -0700 Subject: [PATCH 2/3] chore: replace nodejs14.x with nodejs18.x (#3401) --- .../input/api_merge_definitions_global.yaml | 2 +- ...erge_definitions_with_conflicting_auth.yaml | 2 +- ...e_definitions_with_conflicting_methods.yaml | 2 +- ...itions_with_conflicting_request_models.yaml | 2 +- ...rge_definitions_with_different_methods.yaml | 2 +- ...merge_definitions_with_full_properties.yaml | 2 +- .../input/api_with_custom_domain_regional.yaml | 2 +- .../input/api_with_custom_domains_edge.yaml | 2 +- .../api_with_custom_domains_regional.yaml | 2 +- ...ustom_domains_regional_latency_routing.yaml | 2 +- ..._domains_regional_latency_routing_ipv6.yaml | 2 +- ...omains_regional_ownership_verification.yaml | 2 +- .../api_with_request_parameters_openapi.yaml | 2 +- ...ongito_userpool_with_sms_configuration.yaml | 2 +- .../input/connector_api_to_function.yaml | 4 ++-- .../connector_api_to_multiple_function.yaml | 4 ++-- .../input/connector_appsync_api_to_lambda.yaml | 2 +- .../input/connector_appsync_to_lambda.yaml | 2 +- .../input/connector_bucket_to_function.yaml | 2 +- .../input/connector_function_to_location.yaml | 2 +- .../connector_function_to_multiple_s3.yaml | 2 +- .../input/connector_function_to_s3.yaml | 2 +- .../input/connector_function_to_sqs.yaml | 4 ++-- .../input/connector_function_to_table.yaml | 4 ++-- .../input/connector_mix_destination.yaml | 4 ++-- .../input/connector_sfn_to_function.yaml | 2 +- ...nnector_sfn_to_function_without_policy.yaml | 2 +- .../input/connector_sns_to_function.yaml | 2 +- .../input/connector_sqs_to_function.yaml | 4 ++-- .../connector_sqs_to_multiple_function.yaml | 4 ++-- .../input/connector_table_to_function.yaml | 2 +- .../connector_table_to_function_read.yaml | 4 ++-- ...tor_with_non_id_source_and_destination.yaml | 2 +- ...edded_connector_function_to_multi_dest.yaml | 2 +- .../embedded_connectors_api_to_function.yaml | 4 ++-- .../input/embedded_connectors_function_to.yaml | 4 ++-- .../input/embedded_connectors_sfn_to.yaml | 2 +- .../input/embedded_connectors_sns_to.yaml | 2 +- .../embedded_connectors_table_to_function.yaml | 4 ++-- ...i_merge_definitions_with_definitionuri.yaml | 2 +- ...r_s3_lambda_configuration_invalid_type.yaml | 4 ++-- ...error_schema_validation_wrong_property.yaml | 2 +- .../error_schema_validation_wrong_type.yaml | 2 +- .../input/event_bridge_rule_super_long_id.yaml | 2 +- ...unction_with_events_and_propagate_tags.yaml | 2 +- tests/translator/input/function_with_mq.yaml | 2 +- .../function_with_mq_using_autogen_role.yaml | 2 +- .../translator/input/function_with_msk_2.yaml | 2 +- ...function_with_msk_using_managed_policy.yaml | 2 +- ...nction_with_propagate_tags_and_no_tags.yaml | 2 +- .../input/function_with_tracing.yaml | 18 +++++++++--------- .../input/graphqlapi_multiple_auth.yaml | 4 ++-- .../http_api_with_custom_domains_regional.yaml | 2 +- ...ustom_domains_regional_latency_routing.yaml | 2 +- ..._domains_regional_latency_routing_ipv6.yaml | 2 +- ...omains_regional_ownership_verification.yaml | 2 +- ...efault_stage_name_and_fail_on_warnings.yaml | 2 +- .../translator/input/schema_validation_1.yaml | 2 +- .../translator/input/schema_validation_5.yaml | 2 +- .../state_machine_with_schedule_target_id.yaml | 2 +- .../output/api_merge_definitions_global.json | 2 +- ...erge_definitions_with_conflicting_auth.json | 2 +- ...e_definitions_with_conflicting_methods.json | 2 +- ...itions_with_conflicting_request_models.json | 2 +- ...rge_definitions_with_different_methods.json | 2 +- ...merge_definitions_with_full_properties.json | 2 +- .../api_with_custom_domain_regional.json | 2 +- .../output/api_with_custom_domains_edge.json | 2 +- .../api_with_custom_domains_regional.json | 2 +- ...ustom_domains_regional_latency_routing.json | 2 +- ..._domains_regional_latency_routing_ipv6.json | 2 +- ...omains_regional_ownership_verification.json | 2 +- .../api_with_request_parameters_openapi.json | 2 +- .../aws-cn/api_merge_definitions_global.json | 2 +- ...erge_definitions_with_conflicting_auth.json | 2 +- ...e_definitions_with_conflicting_methods.json | 2 +- ...itions_with_conflicting_request_models.json | 2 +- ...rge_definitions_with_different_methods.json | 2 +- ...merge_definitions_with_full_properties.json | 2 +- .../api_with_custom_domain_regional.json | 2 +- .../aws-cn/api_with_custom_domains_edge.json | 2 +- .../api_with_custom_domains_regional.json | 2 +- ...ustom_domains_regional_latency_routing.json | 2 +- ..._domains_regional_latency_routing_ipv6.json | 2 +- ...omains_regional_ownership_verification.json | 2 +- .../api_with_request_parameters_openapi.json | 2 +- ...ongito_userpool_with_sms_configuration.json | 2 +- .../aws-cn/connector_api_to_function.json | 4 ++-- .../connector_api_to_multiple_function.json | 4 ++-- .../connector_appsync_api_to_lambda.json | 2 +- .../aws-cn/connector_appsync_to_lambda.json | 2 +- .../aws-cn/connector_bucket_to_function.json | 2 +- .../aws-cn/connector_function_to_location.json | 2 +- .../connector_function_to_multiple_s3.json | 2 +- .../aws-cn/connector_function_to_s3.json | 2 +- .../aws-cn/connector_function_to_sqs.json | 4 ++-- .../aws-cn/connector_function_to_table.json | 4 ++-- .../aws-cn/connector_mix_destination.json | 4 ++-- .../aws-cn/connector_samfunction_to_table.json | 2 +- .../aws-cn/connector_sfn_to_function.json | 2 +- ...nnector_sfn_to_function_without_policy.json | 2 +- .../aws-cn/connector_sns_to_function.json | 2 +- .../aws-cn/connector_sqs_to_function.json | 4 ++-- .../connector_sqs_to_multiple_function.json | 4 ++-- .../aws-cn/connector_table_to_function.json | 2 +- .../connector_table_to_function_read.json | 4 ++-- ...tor_with_non_id_source_and_destination.json | 2 +- ...edded_connector_function_to_multi_dest.json | 2 +- .../embedded_connectors_api_to_function.json | 4 ++-- .../embedded_connectors_function_to.json | 4 ++-- .../aws-cn/embedded_connectors_sfn_to.json | 2 +- .../aws-cn/embedded_connectors_sns_to.json | 2 +- .../embedded_connectors_table_to_function.json | 4 ++-- .../event_bridge_rule_super_long_id.json | 2 +- ...unction_with_events_and_propagate_tags.json | 2 +- .../output/aws-cn/function_with_mq.json | 2 +- .../function_with_mq_using_autogen_role.json | 2 +- .../output/aws-cn/function_with_msk_2.json | 2 +- ...function_with_msk_using_managed_policy.json | 2 +- ...nction_with_propagate_tags_and_no_tags.json | 2 +- .../output/aws-cn/function_with_tracing.json | 18 +++++++++--------- .../aws-cn/graphqlapi_multiple_auth.json | 4 ++-- .../http_api_with_custom_domains_regional.json | 2 +- ...ustom_domains_regional_latency_routing.json | 2 +- ..._domains_regional_latency_routing_ipv6.json | 2 +- ...omains_regional_ownership_verification.json | 2 +- ...efault_stage_name_and_fail_on_warnings.json | 2 +- .../output/aws-cn/schema_validation_1.json | 2 +- .../output/aws-cn/schema_validation_5.json | 2 +- .../state_machine_with_schedule_target_id.json | 2 +- .../api_merge_definitions_global.json | 2 +- ...erge_definitions_with_conflicting_auth.json | 2 +- ...e_definitions_with_conflicting_methods.json | 2 +- ...itions_with_conflicting_request_models.json | 2 +- ...rge_definitions_with_different_methods.json | 2 +- ...merge_definitions_with_full_properties.json | 2 +- .../api_with_custom_domain_regional.json | 2 +- .../api_with_custom_domains_edge.json | 2 +- .../api_with_custom_domains_regional.json | 2 +- ...ustom_domains_regional_latency_routing.json | 2 +- ..._domains_regional_latency_routing_ipv6.json | 2 +- ...omains_regional_ownership_verification.json | 2 +- .../api_with_request_parameters_openapi.json | 2 +- ...ongito_userpool_with_sms_configuration.json | 2 +- .../aws-us-gov/connector_api_to_function.json | 4 ++-- .../connector_api_to_multiple_function.json | 4 ++-- .../connector_appsync_api_to_lambda.json | 2 +- .../connector_appsync_to_lambda.json | 2 +- .../connector_bucket_to_function.json | 2 +- .../connector_function_to_location.json | 2 +- .../connector_function_to_multiple_s3.json | 2 +- .../aws-us-gov/connector_function_to_s3.json | 2 +- .../aws-us-gov/connector_function_to_sqs.json | 4 ++-- .../connector_function_to_table.json | 4 ++-- .../aws-us-gov/connector_mix_destination.json | 4 ++-- .../connector_samfunction_to_table.json | 2 +- .../aws-us-gov/connector_sfn_to_function.json | 2 +- ...nnector_sfn_to_function_without_policy.json | 2 +- .../aws-us-gov/connector_sns_to_function.json | 2 +- .../aws-us-gov/connector_sqs_to_function.json | 4 ++-- .../connector_sqs_to_multiple_function.json | 4 ++-- .../connector_table_to_function.json | 2 +- .../connector_table_to_function_read.json | 4 ++-- ...tor_with_non_id_source_and_destination.json | 2 +- ...edded_connector_function_to_multi_dest.json | 2 +- .../embedded_connectors_api_to_function.json | 4 ++-- .../embedded_connectors_function_to.json | 4 ++-- .../aws-us-gov/embedded_connectors_sfn_to.json | 2 +- .../aws-us-gov/embedded_connectors_sns_to.json | 2 +- .../embedded_connectors_table_to_function.json | 4 ++-- .../event_bridge_rule_super_long_id.json | 2 +- ...unction_with_events_and_propagate_tags.json | 2 +- .../output/aws-us-gov/function_with_mq.json | 2 +- .../function_with_mq_using_autogen_role.json | 2 +- .../output/aws-us-gov/function_with_msk_2.json | 2 +- ...function_with_msk_using_managed_policy.json | 2 +- ...nction_with_propagate_tags_and_no_tags.json | 2 +- .../aws-us-gov/function_with_tracing.json | 18 +++++++++--------- .../aws-us-gov/graphqlapi_multiple_auth.json | 4 ++-- .../http_api_with_custom_domains_regional.json | 2 +- ...ustom_domains_regional_latency_routing.json | 2 +- ..._domains_regional_latency_routing_ipv6.json | 2 +- ...omains_regional_ownership_verification.json | 2 +- ...efault_stage_name_and_fail_on_warnings.json | 2 +- .../output/aws-us-gov/schema_validation_1.json | 2 +- .../output/aws-us-gov/schema_validation_5.json | 2 +- .../state_machine_with_schedule_target_id.json | 2 +- ...ongito_userpool_with_sms_configuration.json | 2 +- .../output/connector_api_to_function.json | 4 ++-- .../connector_api_to_multiple_function.json | 4 ++-- .../connector_appsync_api_to_lambda.json | 2 +- .../output/connector_appsync_to_lambda.json | 2 +- .../output/connector_bucket_to_function.json | 2 +- .../output/connector_function_to_location.json | 2 +- .../connector_function_to_multiple_s3.json | 2 +- .../output/connector_function_to_s3.json | 2 +- .../output/connector_function_to_sqs.json | 4 ++-- .../output/connector_function_to_table.json | 4 ++-- .../output/connector_mix_destination.json | 4 ++-- .../output/connector_samfunction_to_table.json | 2 +- .../output/connector_sfn_to_function.json | 2 +- ...nnector_sfn_to_function_without_policy.json | 2 +- .../output/connector_sns_to_function.json | 2 +- .../output/connector_sqs_to_function.json | 4 ++-- .../connector_sqs_to_multiple_function.json | 4 ++-- .../output/connector_table_to_function.json | 2 +- .../connector_table_to_function_read.json | 4 ++-- ...tor_with_non_id_source_and_destination.json | 2 +- ...edded_connector_function_to_multi_dest.json | 2 +- .../embedded_connectors_api_to_function.json | 4 ++-- .../embedded_connectors_function_to.json | 4 ++-- .../output/embedded_connectors_sfn_to.json | 2 +- .../output/embedded_connectors_sns_to.json | 2 +- .../embedded_connectors_table_to_function.json | 4 ++-- .../event_bridge_rule_super_long_id.json | 2 +- ...unction_with_events_and_propagate_tags.json | 2 +- tests/translator/output/function_with_mq.json | 2 +- .../function_with_mq_using_autogen_role.json | 2 +- .../translator/output/function_with_msk_2.json | 2 +- ...function_with_msk_using_managed_policy.json | 2 +- ...nction_with_propagate_tags_and_no_tags.json | 2 +- .../output/function_with_tracing.json | 18 +++++++++--------- .../output/graphqlapi_multiple_auth.json | 4 ++-- .../http_api_with_custom_domains_regional.json | 2 +- ...ustom_domains_regional_latency_routing.json | 2 +- ..._domains_regional_latency_routing_ipv6.json | 2 +- ...omains_regional_ownership_verification.json | 2 +- ...efault_stage_name_and_fail_on_warnings.json | 2 +- .../translator/output/schema_validation_1.json | 2 +- .../translator/output/schema_validation_5.json | 2 +- .../state_machine_with_schedule_target_id.json | 2 +- tests/translator/test_translator.py | 2 +- 232 files changed, 313 insertions(+), 313 deletions(-) diff --git a/tests/translator/input/api_merge_definitions_global.yaml b/tests/translator/input/api_merge_definitions_global.yaml index 9ced7e797b..f3ba2ab6de 100644 --- a/tests/translator/input/api_merge_definitions_global.yaml +++ b/tests/translator/input/api_merge_definitions_global.yaml @@ -31,7 +31,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { diff --git a/tests/translator/input/api_merge_definitions_with_conflicting_auth.yaml b/tests/translator/input/api_merge_definitions_with_conflicting_auth.yaml index ce2223efbf..d52926a3f6 100644 --- a/tests/translator/input/api_merge_definitions_with_conflicting_auth.yaml +++ b/tests/translator/input/api_merge_definitions_with_conflicting_auth.yaml @@ -28,7 +28,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { diff --git a/tests/translator/input/api_merge_definitions_with_conflicting_methods.yaml b/tests/translator/input/api_merge_definitions_with_conflicting_methods.yaml index 1baa2b16cb..a00b2d4c75 100644 --- a/tests/translator/input/api_merge_definitions_with_conflicting_methods.yaml +++ b/tests/translator/input/api_merge_definitions_with_conflicting_methods.yaml @@ -27,7 +27,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { diff --git a/tests/translator/input/api_merge_definitions_with_conflicting_request_models.yaml b/tests/translator/input/api_merge_definitions_with_conflicting_request_models.yaml index f52ffeb56b..0aa9492cc4 100644 --- a/tests/translator/input/api_merge_definitions_with_conflicting_request_models.yaml +++ b/tests/translator/input/api_merge_definitions_with_conflicting_request_models.yaml @@ -35,7 +35,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { diff --git a/tests/translator/input/api_merge_definitions_with_different_methods.yaml b/tests/translator/input/api_merge_definitions_with_different_methods.yaml index 2231cab8ee..a7586afd9c 100644 --- a/tests/translator/input/api_merge_definitions_with_different_methods.yaml +++ b/tests/translator/input/api_merge_definitions_with_different_methods.yaml @@ -27,7 +27,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { diff --git a/tests/translator/input/api_merge_definitions_with_full_properties.yaml b/tests/translator/input/api_merge_definitions_with_full_properties.yaml index 9e9184aba0..3e3d85d38b 100644 --- a/tests/translator/input/api_merge_definitions_with_full_properties.yaml +++ b/tests/translator/input/api_merge_definitions_with_full_properties.yaml @@ -49,7 +49,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { diff --git a/tests/translator/input/api_with_custom_domain_regional.yaml b/tests/translator/input/api_with_custom_domain_regional.yaml index 089ce14f6a..a79e18a5e1 100644 --- a/tests/translator/input/api_with_custom_domain_regional.yaml +++ b/tests/translator/input/api_with_custom_domain_regional.yaml @@ -38,7 +38,7 @@ Resources: return response; }; Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x Events: ImplicitGet: Type: Api diff --git a/tests/translator/input/api_with_custom_domains_edge.yaml b/tests/translator/input/api_with_custom_domains_edge.yaml index 62f321f77d..31dfee1154 100644 --- a/tests/translator/input/api_with_custom_domains_edge.yaml +++ b/tests/translator/input/api_with_custom_domains_edge.yaml @@ -19,7 +19,7 @@ Resources: return response; }; Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x Events: Fetch: Type: Api diff --git a/tests/translator/input/api_with_custom_domains_regional.yaml b/tests/translator/input/api_with_custom_domains_regional.yaml index 089ce14f6a..a79e18a5e1 100644 --- a/tests/translator/input/api_with_custom_domains_regional.yaml +++ b/tests/translator/input/api_with_custom_domains_regional.yaml @@ -38,7 +38,7 @@ Resources: return response; }; Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x Events: ImplicitGet: Type: Api diff --git a/tests/translator/input/api_with_custom_domains_regional_latency_routing.yaml b/tests/translator/input/api_with_custom_domains_regional_latency_routing.yaml index 24bd94678a..a3214121f7 100644 --- a/tests/translator/input/api_with_custom_domains_regional_latency_routing.yaml +++ b/tests/translator/input/api_with_custom_domains_regional_latency_routing.yaml @@ -41,7 +41,7 @@ Resources: return response; }; Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x Events: ImplicitGet: Type: Api diff --git a/tests/translator/input/api_with_custom_domains_regional_latency_routing_ipv6.yaml b/tests/translator/input/api_with_custom_domains_regional_latency_routing_ipv6.yaml index ab5334a3d0..3d6572e682 100644 --- a/tests/translator/input/api_with_custom_domains_regional_latency_routing_ipv6.yaml +++ b/tests/translator/input/api_with_custom_domains_regional_latency_routing_ipv6.yaml @@ -42,7 +42,7 @@ Resources: return response; }; Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x Events: ImplicitGet: Type: Api diff --git a/tests/translator/input/api_with_custom_domains_regional_ownership_verification.yaml b/tests/translator/input/api_with_custom_domains_regional_ownership_verification.yaml index 36bf45c847..d4f0b362b5 100644 --- a/tests/translator/input/api_with_custom_domains_regional_ownership_verification.yaml +++ b/tests/translator/input/api_with_custom_domains_regional_ownership_verification.yaml @@ -42,7 +42,7 @@ Resources: return response; }; Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x Events: ImplicitGet: Type: Api diff --git a/tests/translator/input/api_with_request_parameters_openapi.yaml b/tests/translator/input/api_with_request_parameters_openapi.yaml index cae4b4dd45..ebd025ff38 100644 --- a/tests/translator/input/api_with_request_parameters_openapi.yaml +++ b/tests/translator/input/api_with_request_parameters_openapi.yaml @@ -29,7 +29,7 @@ Resources: }); } Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x Events: GetHtml: Type: Api diff --git a/tests/translator/input/congito_userpool_with_sms_configuration.yaml b/tests/translator/input/congito_userpool_with_sms_configuration.yaml index 7a3c5d1b45..3231037c51 100644 --- a/tests/translator/input/congito_userpool_with_sms_configuration.yaml +++ b/tests/translator/input/congito_userpool_with_sms_configuration.yaml @@ -4,7 +4,7 @@ Resources: Properties: CodeUri: s3://bucket/key Handler: app.handler - Runtime: nodejs14.x + Runtime: nodejs18.x Events: CognitoUserPoolPreSignup: Type: Cognito diff --git a/tests/translator/input/connector_api_to_function.yaml b/tests/translator/input/connector_api_to_function.yaml index a9ab7244d3..33bef09d21 100644 --- a/tests/translator/input/connector_api_to_function.yaml +++ b/tests/translator/input/connector_api_to_function.yaml @@ -34,7 +34,7 @@ Resources: MyServerlessFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); @@ -58,7 +58,7 @@ Resources: Type: AWS::Lambda::Function Properties: Role: !GetAtt MyRole.Arn - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Code: ZipFile: | diff --git a/tests/translator/input/connector_api_to_multiple_function.yaml b/tests/translator/input/connector_api_to_multiple_function.yaml index 030f72321d..fe94a5a9b9 100644 --- a/tests/translator/input/connector_api_to_multiple_function.yaml +++ b/tests/translator/input/connector_api_to_multiple_function.yaml @@ -7,7 +7,7 @@ Resources: MyServerlessFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); @@ -31,7 +31,7 @@ Resources: Type: AWS::Lambda::Function Properties: Role: !GetAtt MyRole.Arn - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Code: ZipFile: | diff --git a/tests/translator/input/connector_appsync_api_to_lambda.yaml b/tests/translator/input/connector_appsync_api_to_lambda.yaml index 0f7ffda749..f10f030cb1 100644 --- a/tests/translator/input/connector_appsync_api_to_lambda.yaml +++ b/tests/translator/input/connector_appsync_api_to_lambda.yaml @@ -28,5 +28,5 @@ Resources: } } PackageType: Zip - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler diff --git a/tests/translator/input/connector_appsync_to_lambda.yaml b/tests/translator/input/connector_appsync_to_lambda.yaml index e8c94bf29b..eb496a8a1d 100644 --- a/tests/translator/input/connector_appsync_to_lambda.yaml +++ b/tests/translator/input/connector_appsync_to_lambda.yaml @@ -19,7 +19,7 @@ Resources: return "Hello World" } Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x AppSyncApi: Type: AWS::AppSync::GraphQLApi diff --git a/tests/translator/input/connector_bucket_to_function.yaml b/tests/translator/input/connector_bucket_to_function.yaml index 19dd070ff4..c44dc2dc6a 100644 --- a/tests/translator/input/connector_bucket_to_function.yaml +++ b/tests/translator/input/connector_bucket_to_function.yaml @@ -2,7 +2,7 @@ Resources: Function: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/connector_function_to_location.yaml b/tests/translator/input/connector_function_to_location.yaml index 6256e6a58f..00f1b54cb6 100644 --- a/tests/translator/input/connector_function_to_location.yaml +++ b/tests/translator/input/connector_function_to_location.yaml @@ -2,7 +2,7 @@ Resources: MyFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/connector_function_to_multiple_s3.yaml b/tests/translator/input/connector_function_to_multiple_s3.yaml index e101a30935..e65130cd3a 100644 --- a/tests/translator/input/connector_function_to_multiple_s3.yaml +++ b/tests/translator/input/connector_function_to_multiple_s3.yaml @@ -2,7 +2,7 @@ Resources: MyFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/connector_function_to_s3.yaml b/tests/translator/input/connector_function_to_s3.yaml index 297f5bcc71..e76250ee06 100644 --- a/tests/translator/input/connector_function_to_s3.yaml +++ b/tests/translator/input/connector_function_to_s3.yaml @@ -2,7 +2,7 @@ Resources: MyFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/connector_function_to_sqs.yaml b/tests/translator/input/connector_function_to_sqs.yaml index 64be5167d3..c02fd94560 100644 --- a/tests/translator/input/connector_function_to_sqs.yaml +++ b/tests/translator/input/connector_function_to_sqs.yaml @@ -15,7 +15,7 @@ Resources: Type: AWS::Lambda::Function Properties: Role: !GetAtt MyRole.Arn - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Code: ZipFile: | @@ -30,7 +30,7 @@ Resources: MyServerlessFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/connector_function_to_table.yaml b/tests/translator/input/connector_function_to_table.yaml index 30f7ebc3ba..d8d442feee 100644 --- a/tests/translator/input/connector_function_to_table.yaml +++ b/tests/translator/input/connector_function_to_table.yaml @@ -15,7 +15,7 @@ Resources: Type: AWS::Lambda::Function Properties: Role: !GetAtt MyRole.Arn - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Code: ZipFile: | @@ -32,7 +32,7 @@ Resources: MyServerlessFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/connector_mix_destination.yaml b/tests/translator/input/connector_mix_destination.yaml index 99f1925620..6ff413ed3d 100644 --- a/tests/translator/input/connector_mix_destination.yaml +++ b/tests/translator/input/connector_mix_destination.yaml @@ -2,7 +2,7 @@ Resources: TriggerFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Timeout: 10 # in case eb has delay InlineCode: | @@ -54,7 +54,7 @@ Resources: Function: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/connector_sfn_to_function.yaml b/tests/translator/input/connector_sfn_to_function.yaml index 47b1852ee6..259d52aab7 100644 --- a/tests/translator/input/connector_sfn_to_function.yaml +++ b/tests/translator/input/connector_sfn_to_function.yaml @@ -19,7 +19,7 @@ Resources: MyFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/connector_sfn_to_function_without_policy.yaml b/tests/translator/input/connector_sfn_to_function_without_policy.yaml index a011a40d38..862ab2e75b 100644 --- a/tests/translator/input/connector_sfn_to_function_without_policy.yaml +++ b/tests/translator/input/connector_sfn_to_function_without_policy.yaml @@ -16,7 +16,7 @@ Resources: MyFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | exports.handler = async (event) => { diff --git a/tests/translator/input/connector_sns_to_function.yaml b/tests/translator/input/connector_sns_to_function.yaml index 42616cb06d..a79e921a62 100644 --- a/tests/translator/input/connector_sns_to_function.yaml +++ b/tests/translator/input/connector_sns_to_function.yaml @@ -18,7 +18,7 @@ Resources: Type: AWS::Lambda::Function Properties: Role: !GetAtt MyRole.Arn - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Code: ZipFile: | diff --git a/tests/translator/input/connector_sqs_to_function.yaml b/tests/translator/input/connector_sqs_to_function.yaml index 20bd33aabd..a17cfd543e 100644 --- a/tests/translator/input/connector_sqs_to_function.yaml +++ b/tests/translator/input/connector_sqs_to_function.yaml @@ -5,7 +5,7 @@ Resources: TriggerFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Timeout: 10 # in case eb has delay InlineCode: | @@ -39,7 +39,7 @@ Resources: InvokedFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/connector_sqs_to_multiple_function.yaml b/tests/translator/input/connector_sqs_to_multiple_function.yaml index ff03cc7c4e..a5b0a2a04e 100644 --- a/tests/translator/input/connector_sqs_to_multiple_function.yaml +++ b/tests/translator/input/connector_sqs_to_multiple_function.yaml @@ -5,7 +5,7 @@ Resources: InvokedFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); @@ -26,7 +26,7 @@ Resources: InvokedFunction2: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/connector_table_to_function.yaml b/tests/translator/input/connector_table_to_function.yaml index 183e284a91..59437c5b04 100644 --- a/tests/translator/input/connector_table_to_function.yaml +++ b/tests/translator/input/connector_table_to_function.yaml @@ -15,7 +15,7 @@ Resources: Type: AWS::Lambda::Function Properties: Role: !GetAtt MyRole.Arn - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Code: ZipFile: | diff --git a/tests/translator/input/connector_table_to_function_read.yaml b/tests/translator/input/connector_table_to_function_read.yaml index a4eb58b986..3b44ed0a29 100644 --- a/tests/translator/input/connector_table_to_function_read.yaml +++ b/tests/translator/input/connector_table_to_function_read.yaml @@ -2,7 +2,7 @@ Resources: TriggerFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Timeout: 10 # in case eb has delay InlineCode: | @@ -36,7 +36,7 @@ Resources: InvokedFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/connector_with_non_id_source_and_destination.yaml b/tests/translator/input/connector_with_non_id_source_and_destination.yaml index e34b713f7c..10a0fcf109 100644 --- a/tests/translator/input/connector_with_non_id_source_and_destination.yaml +++ b/tests/translator/input/connector_with_non_id_source_and_destination.yaml @@ -16,7 +16,7 @@ Resources: SamFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Role: !GetAtt MyRole.Arn InlineCode: | diff --git a/tests/translator/input/embedded_connector_function_to_multi_dest.yaml b/tests/translator/input/embedded_connector_function_to_multi_dest.yaml index e478f3e2ea..368d884572 100644 --- a/tests/translator/input/embedded_connector_function_to_multi_dest.yaml +++ b/tests/translator/input/embedded_connector_function_to_multi_dest.yaml @@ -11,7 +11,7 @@ Resources: - Read - Write Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/embedded_connectors_api_to_function.yaml b/tests/translator/input/embedded_connectors_api_to_function.yaml index 331b8d47f8..a9f8453d20 100644 --- a/tests/translator/input/embedded_connectors_api_to_function.yaml +++ b/tests/translator/input/embedded_connectors_api_to_function.yaml @@ -49,7 +49,7 @@ Resources: MyServerlessFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); @@ -73,7 +73,7 @@ Resources: Type: AWS::Lambda::Function Properties: Role: !GetAtt MyRole.Arn - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Code: ZipFile: |- diff --git a/tests/translator/input/embedded_connectors_function_to.yaml b/tests/translator/input/embedded_connectors_function_to.yaml index 70a1ed39bf..f06ef55d43 100644 --- a/tests/translator/input/embedded_connectors_function_to.yaml +++ b/tests/translator/input/embedded_connectors_function_to.yaml @@ -45,7 +45,7 @@ Resources: - Read - Write Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); @@ -79,7 +79,7 @@ Resources: - Write Properties: Role: !GetAtt MyRole.Arn - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Code: ZipFile: | diff --git a/tests/translator/input/embedded_connectors_sfn_to.yaml b/tests/translator/input/embedded_connectors_sfn_to.yaml index 952aebfbb0..ef01f13580 100644 --- a/tests/translator/input/embedded_connectors_sfn_to.yaml +++ b/tests/translator/input/embedded_connectors_sfn_to.yaml @@ -47,7 +47,7 @@ Resources: MyFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/embedded_connectors_sns_to.yaml b/tests/translator/input/embedded_connectors_sns_to.yaml index ea7ac8bf5b..7f814c3745 100644 --- a/tests/translator/input/embedded_connectors_sns_to.yaml +++ b/tests/translator/input/embedded_connectors_sns_to.yaml @@ -21,7 +21,7 @@ Resources: MyFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: " const AWS = require('aws-sdk'); exports.handler = async (event)\ \ => { console.log(JSON.stringify(event)); };" diff --git a/tests/translator/input/embedded_connectors_table_to_function.yaml b/tests/translator/input/embedded_connectors_table_to_function.yaml index 8cd3907a66..4a69fa6f75 100644 --- a/tests/translator/input/embedded_connectors_table_to_function.yaml +++ b/tests/translator/input/embedded_connectors_table_to_function.yaml @@ -2,7 +2,7 @@ Resources: MyServerlessFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | exports.handler = async (event) => { @@ -13,7 +13,7 @@ Resources: Type: AWS::Lambda::Function Properties: Role: !GetAtt MyRole.Arn - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Code: ZipFile: | diff --git a/tests/translator/input/error_api_merge_definitions_with_definitionuri.yaml b/tests/translator/input/error_api_merge_definitions_with_definitionuri.yaml index bef2359238..8b2d524b0b 100644 --- a/tests/translator/input/error_api_merge_definitions_with_definitionuri.yaml +++ b/tests/translator/input/error_api_merge_definitions_with_definitionuri.yaml @@ -29,7 +29,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { diff --git a/tests/translator/input/error_s3_lambda_configuration_invalid_type.yaml b/tests/translator/input/error_s3_lambda_configuration_invalid_type.yaml index 49878b4a12..151a658616 100644 --- a/tests/translator/input/error_s3_lambda_configuration_invalid_type.yaml +++ b/tests/translator/input/error_s3_lambda_configuration_invalid_type.yaml @@ -4,7 +4,7 @@ Resources: Properties: CodeUri: s3://bucket/key Handler: app.lambdaHandler - Runtime: nodejs14.x + Runtime: nodejs18.x Architectures: - x86_64 Events: @@ -28,7 +28,7 @@ Resources: Properties: CodeUri: s3://bucket/key Handler: app.lambdaHandler - Runtime: nodejs14.x + Runtime: nodejs18.x Architectures: - x86_64 Events: diff --git a/tests/translator/input/error_schema_validation_wrong_property.yaml b/tests/translator/input/error_schema_validation_wrong_property.yaml index 8733bdbd3a..90f021afec 100644 --- a/tests/translator/input/error_schema_validation_wrong_property.yaml +++ b/tests/translator/input/error_schema_validation_wrong_property.yaml @@ -2,7 +2,7 @@ Resources: MyFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/error_schema_validation_wrong_type.yaml b/tests/translator/input/error_schema_validation_wrong_type.yaml index d30bf89263..07c72b8235 100644 --- a/tests/translator/input/error_schema_validation_wrong_type.yaml +++ b/tests/translator/input/error_schema_validation_wrong_type.yaml @@ -2,7 +2,7 @@ Resources: MyFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler InlineCode: | const AWS = require('aws-sdk'); diff --git a/tests/translator/input/event_bridge_rule_super_long_id.yaml b/tests/translator/input/event_bridge_rule_super_long_id.yaml index bdcc90a1e2..a7f93aa27a 100644 --- a/tests/translator/input/event_bridge_rule_super_long_id.yaml +++ b/tests/translator/input/event_bridge_rule_super_long_id.yaml @@ -5,7 +5,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { diff --git a/tests/translator/input/function_with_events_and_propagate_tags.yaml b/tests/translator/input/function_with_events_and_propagate_tags.yaml index ad271d7099..a8dd9e7912 100644 --- a/tests/translator/input/function_with_events_and_propagate_tags.yaml +++ b/tests/translator/input/function_with_events_and_propagate_tags.yaml @@ -43,7 +43,7 @@ Resources: InlineCode: | exports.handler = async () => ‘Hello World!' Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x DeploymentPreference: Type: AllAtOnce Role: diff --git a/tests/translator/input/function_with_mq.yaml b/tests/translator/input/function_with_mq.yaml index 25ad0714ec..f3db925b36 100644 --- a/tests/translator/input/function_with_mq.yaml +++ b/tests/translator/input/function_with_mq.yaml @@ -137,7 +137,7 @@ Resources: MyLambdaFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler CodeUri: s3://bucket/key Role: diff --git a/tests/translator/input/function_with_mq_using_autogen_role.yaml b/tests/translator/input/function_with_mq_using_autogen_role.yaml index 2f5f81891a..7e6aac4711 100644 --- a/tests/translator/input/function_with_mq_using_autogen_role.yaml +++ b/tests/translator/input/function_with_mq_using_autogen_role.yaml @@ -108,7 +108,7 @@ Resources: MyLambdaFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler CodeUri: s3://bucket/key Events: diff --git a/tests/translator/input/function_with_msk_2.yaml b/tests/translator/input/function_with_msk_2.yaml index 6189267331..f18ef389a6 100644 --- a/tests/translator/input/function_with_msk_2.yaml +++ b/tests/translator/input/function_with_msk_2.yaml @@ -50,7 +50,7 @@ Resources: MyMskStreamProcessor: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler CodeUri: s3://foo/bar Role: diff --git a/tests/translator/input/function_with_msk_using_managed_policy.yaml b/tests/translator/input/function_with_msk_using_managed_policy.yaml index 95a173cd8d..6af8f89a67 100644 --- a/tests/translator/input/function_with_msk_using_managed_policy.yaml +++ b/tests/translator/input/function_with_msk_using_managed_policy.yaml @@ -26,7 +26,7 @@ Resources: MyMskStreamProcessor: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler CodeUri: s3://foo/bar Events: diff --git a/tests/translator/input/function_with_propagate_tags_and_no_tags.yaml b/tests/translator/input/function_with_propagate_tags_and_no_tags.yaml index c0869f9a5d..2a594be885 100644 --- a/tests/translator/input/function_with_propagate_tags_and_no_tags.yaml +++ b/tests/translator/input/function_with_propagate_tags_and_no_tags.yaml @@ -5,7 +5,7 @@ Resources: InlineCode: | exports.handler = async () => ‘Hello World!' Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x # PropagateTags: True AutoPublishAlias: Live Events: diff --git a/tests/translator/input/function_with_tracing.yaml b/tests/translator/input/function_with_tracing.yaml index 8e31a6b0c3..93bc7246d4 100644 --- a/tests/translator/input/function_with_tracing.yaml +++ b/tests/translator/input/function_with_tracing.yaml @@ -14,7 +14,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { @@ -32,7 +32,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { @@ -50,7 +50,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { @@ -68,7 +68,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { @@ -86,7 +86,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { @@ -104,7 +104,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { @@ -122,7 +122,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { @@ -140,7 +140,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x InlineCode: | exports.handler = async (event, context, callback) => { return { @@ -158,7 +158,7 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x MemorySize: 128 InlineCode: | exports.handler = async (event, context, callback) => { diff --git a/tests/translator/input/graphqlapi_multiple_auth.yaml b/tests/translator/input/graphqlapi_multiple_auth.yaml index 69bee9ac9a..bb642b3770 100644 --- a/tests/translator/input/graphqlapi_multiple_auth.yaml +++ b/tests/translator/input/graphqlapi_multiple_auth.yaml @@ -48,7 +48,7 @@ Resources: } } PackageType: Zip - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler Authorizer2: @@ -62,5 +62,5 @@ Resources: } } PackageType: Zip - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: index.handler diff --git a/tests/translator/input/http_api_with_custom_domains_regional.yaml b/tests/translator/input/http_api_with_custom_domains_regional.yaml index cdfb3ef4d9..72b033eff8 100644 --- a/tests/translator/input/http_api_with_custom_domains_regional.yaml +++ b/tests/translator/input/http_api_with_custom_domains_regional.yaml @@ -38,7 +38,7 @@ Resources: return response; }; Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x Events: ImplicitGet: Type: HttpApi diff --git a/tests/translator/input/http_api_with_custom_domains_regional_latency_routing.yaml b/tests/translator/input/http_api_with_custom_domains_regional_latency_routing.yaml index a2b4626aaf..b931f35d81 100644 --- a/tests/translator/input/http_api_with_custom_domains_regional_latency_routing.yaml +++ b/tests/translator/input/http_api_with_custom_domains_regional_latency_routing.yaml @@ -41,7 +41,7 @@ Resources: return response; }; Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x Events: ImplicitGet: Type: Api diff --git a/tests/translator/input/http_api_with_custom_domains_regional_latency_routing_ipv6.yaml b/tests/translator/input/http_api_with_custom_domains_regional_latency_routing_ipv6.yaml index 850c64986f..df267545ec 100644 --- a/tests/translator/input/http_api_with_custom_domains_regional_latency_routing_ipv6.yaml +++ b/tests/translator/input/http_api_with_custom_domains_regional_latency_routing_ipv6.yaml @@ -42,7 +42,7 @@ Resources: return response; }; Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x Events: ImplicitGet: Type: Api diff --git a/tests/translator/input/http_api_with_custom_domains_regional_ownership_verification.yaml b/tests/translator/input/http_api_with_custom_domains_regional_ownership_verification.yaml index cf42ae430e..24ba30da30 100644 --- a/tests/translator/input/http_api_with_custom_domains_regional_ownership_verification.yaml +++ b/tests/translator/input/http_api_with_custom_domains_regional_ownership_verification.yaml @@ -42,7 +42,7 @@ Resources: return response; }; Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x Events: ImplicitGet: Type: HttpApi diff --git a/tests/translator/input/http_api_with_default_stage_name_and_fail_on_warnings.yaml b/tests/translator/input/http_api_with_default_stage_name_and_fail_on_warnings.yaml index b95f9042d2..d167d674a4 100644 --- a/tests/translator/input/http_api_with_default_stage_name_and_fail_on_warnings.yaml +++ b/tests/translator/input/http_api_with_default_stage_name_and_fail_on_warnings.yaml @@ -9,7 +9,7 @@ Resources: Properties: InlineCode: foo Handler: bar - Runtime: nodejs14.x + Runtime: nodejs18.x Events: AppHandler: Type: HttpApi diff --git a/tests/translator/input/schema_validation_1.yaml b/tests/translator/input/schema_validation_1.yaml index 4652810945..fee21d80c2 100644 --- a/tests/translator/input/schema_validation_1.yaml +++ b/tests/translator/input/schema_validation_1.yaml @@ -59,7 +59,7 @@ Resources: - ResourceName: Function CodeUri: s3://src/Function Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x MemorySize: 3008 Timeout: 30 Tracing: Active diff --git a/tests/translator/input/schema_validation_5.yaml b/tests/translator/input/schema_validation_5.yaml index 91895f2871..6e48103643 100644 --- a/tests/translator/input/schema_validation_5.yaml +++ b/tests/translator/input/schema_validation_5.yaml @@ -33,6 +33,6 @@ Resources: MyFunction: Type: AWS::Serverless::Function Properties: - Runtime: nodejs14.x + Runtime: nodejs18.x Handler: foo InlineCode: bar diff --git a/tests/translator/input/state_machine_with_schedule_target_id.yaml b/tests/translator/input/state_machine_with_schedule_target_id.yaml index 8c3d25dd29..a5d08b6a98 100644 --- a/tests/translator/input/state_machine_with_schedule_target_id.yaml +++ b/tests/translator/input/state_machine_with_schedule_target_id.yaml @@ -7,7 +7,7 @@ Resources: console.log("Hello world!") }; Handler: index.handler - Runtime: nodejs14.x + Runtime: nodejs18.x StateMachineIdWith30Characters: Type: AWS::Serverless::StateMachine diff --git a/tests/translator/output/api_merge_definitions_global.json b/tests/translator/output/api_merge_definitions_global.json index 1526ed7afd..ae3c8503d9 100644 --- a/tests/translator/output/api_merge_definitions_global.json +++ b/tests/translator/output/api_merge_definitions_global.json @@ -113,7 +113,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/api_merge_definitions_with_conflicting_auth.json b/tests/translator/output/api_merge_definitions_with_conflicting_auth.json index 1526ed7afd..ae3c8503d9 100644 --- a/tests/translator/output/api_merge_definitions_with_conflicting_auth.json +++ b/tests/translator/output/api_merge_definitions_with_conflicting_auth.json @@ -113,7 +113,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/api_merge_definitions_with_conflicting_methods.json b/tests/translator/output/api_merge_definitions_with_conflicting_methods.json index 621f060339..1453365174 100644 --- a/tests/translator/output/api_merge_definitions_with_conflicting_methods.json +++ b/tests/translator/output/api_merge_definitions_with_conflicting_methods.json @@ -90,7 +90,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/api_merge_definitions_with_conflicting_request_models.json b/tests/translator/output/api_merge_definitions_with_conflicting_request_models.json index 05f1709da8..a78cfd5d77 100644 --- a/tests/translator/output/api_merge_definitions_with_conflicting_request_models.json +++ b/tests/translator/output/api_merge_definitions_with_conflicting_request_models.json @@ -119,7 +119,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/api_merge_definitions_with_different_methods.json b/tests/translator/output/api_merge_definitions_with_different_methods.json index 3e2e924290..ce8e429164 100644 --- a/tests/translator/output/api_merge_definitions_with_different_methods.json +++ b/tests/translator/output/api_merge_definitions_with_different_methods.json @@ -99,7 +99,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/api_merge_definitions_with_full_properties.json b/tests/translator/output/api_merge_definitions_with_full_properties.json index f85d2cc67d..d91e8b08d3 100644 --- a/tests/translator/output/api_merge_definitions_with_full_properties.json +++ b/tests/translator/output/api_merge_definitions_with_full_properties.json @@ -117,7 +117,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/api_with_custom_domain_regional.json b/tests/translator/output/api_with_custom_domain_regional.json index 81b4c930b3..4aaba78714 100644 --- a/tests/translator/output/api_with_custom_domain_regional.json +++ b/tests/translator/output/api_with_custom_domain_regional.json @@ -46,7 +46,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/api_with_custom_domains_edge.json b/tests/translator/output/api_with_custom_domains_edge.json index 1237af206e..0f975fdede 100644 --- a/tests/translator/output/api_with_custom_domains_edge.json +++ b/tests/translator/output/api_with_custom_domains_edge.json @@ -106,7 +106,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/api_with_custom_domains_regional.json b/tests/translator/output/api_with_custom_domains_regional.json index 81b4c930b3..4aaba78714 100644 --- a/tests/translator/output/api_with_custom_domains_regional.json +++ b/tests/translator/output/api_with_custom_domains_regional.json @@ -46,7 +46,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/api_with_custom_domains_regional_latency_routing.json b/tests/translator/output/api_with_custom_domains_regional_latency_routing.json index e11a704c1c..c111a18d5f 100644 --- a/tests/translator/output/api_with_custom_domains_regional_latency_routing.json +++ b/tests/translator/output/api_with_custom_domains_regional_latency_routing.json @@ -46,7 +46,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/api_with_custom_domains_regional_latency_routing_ipv6.json b/tests/translator/output/api_with_custom_domains_regional_latency_routing_ipv6.json index 17ab4adc98..1d1fc57fd5 100644 --- a/tests/translator/output/api_with_custom_domains_regional_latency_routing_ipv6.json +++ b/tests/translator/output/api_with_custom_domains_regional_latency_routing_ipv6.json @@ -46,7 +46,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/api_with_custom_domains_regional_ownership_verification.json b/tests/translator/output/api_with_custom_domains_regional_ownership_verification.json index ce840b1ae4..00f175443a 100644 --- a/tests/translator/output/api_with_custom_domains_regional_ownership_verification.json +++ b/tests/translator/output/api_with_custom_domains_regional_ownership_verification.json @@ -52,7 +52,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/api_with_request_parameters_openapi.json b/tests/translator/output/api_with_request_parameters_openapi.json index 19eef5e2fc..249f71062d 100644 --- a/tests/translator/output/api_with_request_parameters_openapi.json +++ b/tests/translator/output/api_with_request_parameters_openapi.json @@ -15,7 +15,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/api_merge_definitions_global.json b/tests/translator/output/aws-cn/api_merge_definitions_global.json index 3ac9b7b438..682b7361dc 100644 --- a/tests/translator/output/aws-cn/api_merge_definitions_global.json +++ b/tests/translator/output/aws-cn/api_merge_definitions_global.json @@ -121,7 +121,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/api_merge_definitions_with_conflicting_auth.json b/tests/translator/output/aws-cn/api_merge_definitions_with_conflicting_auth.json index 3ac9b7b438..682b7361dc 100644 --- a/tests/translator/output/aws-cn/api_merge_definitions_with_conflicting_auth.json +++ b/tests/translator/output/aws-cn/api_merge_definitions_with_conflicting_auth.json @@ -121,7 +121,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/api_merge_definitions_with_conflicting_methods.json b/tests/translator/output/aws-cn/api_merge_definitions_with_conflicting_methods.json index 798f2b045f..29cfe5da7d 100644 --- a/tests/translator/output/aws-cn/api_merge_definitions_with_conflicting_methods.json +++ b/tests/translator/output/aws-cn/api_merge_definitions_with_conflicting_methods.json @@ -98,7 +98,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/api_merge_definitions_with_conflicting_request_models.json b/tests/translator/output/aws-cn/api_merge_definitions_with_conflicting_request_models.json index bf4193af52..cdea81b799 100644 --- a/tests/translator/output/aws-cn/api_merge_definitions_with_conflicting_request_models.json +++ b/tests/translator/output/aws-cn/api_merge_definitions_with_conflicting_request_models.json @@ -127,7 +127,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/api_merge_definitions_with_different_methods.json b/tests/translator/output/aws-cn/api_merge_definitions_with_different_methods.json index 4d2409dd51..88c509637a 100644 --- a/tests/translator/output/aws-cn/api_merge_definitions_with_different_methods.json +++ b/tests/translator/output/aws-cn/api_merge_definitions_with_different_methods.json @@ -107,7 +107,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/api_merge_definitions_with_full_properties.json b/tests/translator/output/aws-cn/api_merge_definitions_with_full_properties.json index e37661addf..7493cb123c 100644 --- a/tests/translator/output/aws-cn/api_merge_definitions_with_full_properties.json +++ b/tests/translator/output/aws-cn/api_merge_definitions_with_full_properties.json @@ -125,7 +125,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/api_with_custom_domain_regional.json b/tests/translator/output/aws-cn/api_with_custom_domain_regional.json index 8594d7c912..a9b26cb266 100644 --- a/tests/translator/output/aws-cn/api_with_custom_domain_regional.json +++ b/tests/translator/output/aws-cn/api_with_custom_domain_regional.json @@ -46,7 +46,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/api_with_custom_domains_edge.json b/tests/translator/output/aws-cn/api_with_custom_domains_edge.json index 96e749e196..3bb383b96d 100644 --- a/tests/translator/output/aws-cn/api_with_custom_domains_edge.json +++ b/tests/translator/output/aws-cn/api_with_custom_domains_edge.json @@ -114,7 +114,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/api_with_custom_domains_regional.json b/tests/translator/output/aws-cn/api_with_custom_domains_regional.json index 8594d7c912..a9b26cb266 100644 --- a/tests/translator/output/aws-cn/api_with_custom_domains_regional.json +++ b/tests/translator/output/aws-cn/api_with_custom_domains_regional.json @@ -46,7 +46,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/api_with_custom_domains_regional_latency_routing.json b/tests/translator/output/aws-cn/api_with_custom_domains_regional_latency_routing.json index 7623dc1e4b..7335ec1570 100644 --- a/tests/translator/output/aws-cn/api_with_custom_domains_regional_latency_routing.json +++ b/tests/translator/output/aws-cn/api_with_custom_domains_regional_latency_routing.json @@ -46,7 +46,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/api_with_custom_domains_regional_latency_routing_ipv6.json b/tests/translator/output/aws-cn/api_with_custom_domains_regional_latency_routing_ipv6.json index f2d4ad5c2d..cc72c3ee66 100644 --- a/tests/translator/output/aws-cn/api_with_custom_domains_regional_latency_routing_ipv6.json +++ b/tests/translator/output/aws-cn/api_with_custom_domains_regional_latency_routing_ipv6.json @@ -46,7 +46,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/api_with_custom_domains_regional_ownership_verification.json b/tests/translator/output/aws-cn/api_with_custom_domains_regional_ownership_verification.json index b42fb75827..43b0b6f5a6 100644 --- a/tests/translator/output/aws-cn/api_with_custom_domains_regional_ownership_verification.json +++ b/tests/translator/output/aws-cn/api_with_custom_domains_regional_ownership_verification.json @@ -52,7 +52,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/api_with_request_parameters_openapi.json b/tests/translator/output/aws-cn/api_with_request_parameters_openapi.json index d8a72fefb2..b5516f18e9 100644 --- a/tests/translator/output/aws-cn/api_with_request_parameters_openapi.json +++ b/tests/translator/output/aws-cn/api_with_request_parameters_openapi.json @@ -15,7 +15,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/congito_userpool_with_sms_configuration.json b/tests/translator/output/aws-cn/congito_userpool_with_sms_configuration.json index 338ce09389..6bf3595684 100644 --- a/tests/translator/output/aws-cn/congito_userpool_with_sms_configuration.json +++ b/tests/translator/output/aws-cn/congito_userpool_with_sms_configuration.json @@ -13,7 +13,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_api_to_function.json b/tests/translator/output/aws-cn/connector_api_to_function.json index 9849f288c4..be8192000f 100644 --- a/tests/translator/output/aws-cn/connector_api_to_function.json +++ b/tests/translator/output/aws-cn/connector_api_to_function.json @@ -189,7 +189,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -305,7 +305,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_api_to_multiple_function.json b/tests/translator/output/aws-cn/connector_api_to_multiple_function.json index 28e7b88555..7150f8a5d4 100644 --- a/tests/translator/output/aws-cn/connector_api_to_multiple_function.json +++ b/tests/translator/output/aws-cn/connector_api_to_multiple_function.json @@ -84,7 +84,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -166,7 +166,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_appsync_api_to_lambda.json b/tests/translator/output/aws-cn/connector_appsync_api_to_lambda.json index 9533a4299f..f1e5a32de1 100644 --- a/tests/translator/output/aws-cn/connector_appsync_api_to_lambda.json +++ b/tests/translator/output/aws-cn/connector_appsync_api_to_lambda.json @@ -28,7 +28,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_appsync_to_lambda.json b/tests/translator/output/aws-cn/connector_appsync_to_lambda.json index 5c87af6c15..0731f62c59 100644 --- a/tests/translator/output/aws-cn/connector_appsync_to_lambda.json +++ b/tests/translator/output/aws-cn/connector_appsync_to_lambda.json @@ -132,7 +132,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_bucket_to_function.json b/tests/translator/output/aws-cn/connector_bucket_to_function.json index e9e91ecbf9..2251f33af1 100644 --- a/tests/translator/output/aws-cn/connector_bucket_to_function.json +++ b/tests/translator/output/aws-cn/connector_bucket_to_function.json @@ -34,7 +34,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_function_to_location.json b/tests/translator/output/aws-cn/connector_function_to_location.json index 1131d55c4b..35b06bcb60 100644 --- a/tests/translator/output/aws-cn/connector_function_to_location.json +++ b/tests/translator/output/aws-cn/connector_function_to_location.json @@ -99,7 +99,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_function_to_multiple_s3.json b/tests/translator/output/aws-cn/connector_function_to_multiple_s3.json index 1a691e0044..4a17f2bd7f 100644 --- a/tests/translator/output/aws-cn/connector_function_to_multiple_s3.json +++ b/tests/translator/output/aws-cn/connector_function_to_multiple_s3.json @@ -216,7 +216,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_function_to_s3.json b/tests/translator/output/aws-cn/connector_function_to_s3.json index 482f14f296..d2a21b5325 100644 --- a/tests/translator/output/aws-cn/connector_function_to_s3.json +++ b/tests/translator/output/aws-cn/connector_function_to_s3.json @@ -114,7 +114,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_function_to_sqs.json b/tests/translator/output/aws-cn/connector_function_to_sqs.json index 925d831238..7fc16a1dac 100644 --- a/tests/translator/output/aws-cn/connector_function_to_sqs.json +++ b/tests/translator/output/aws-cn/connector_function_to_sqs.json @@ -164,7 +164,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -202,7 +202,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_function_to_table.json b/tests/translator/output/aws-cn/connector_function_to_table.json index 0dc8c1fd62..d10094095f 100644 --- a/tests/translator/output/aws-cn/connector_function_to_table.json +++ b/tests/translator/output/aws-cn/connector_function_to_table.json @@ -288,7 +288,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -330,7 +330,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_mix_destination.json b/tests/translator/output/aws-cn/connector_mix_destination.json index 7bb7e77a84..4d6eefc637 100644 --- a/tests/translator/output/aws-cn/connector_mix_destination.json +++ b/tests/translator/output/aws-cn/connector_mix_destination.json @@ -57,7 +57,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -228,7 +228,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_samfunction_to_table.json b/tests/translator/output/aws-cn/connector_samfunction_to_table.json index 75200def6f..a962c40be2 100644 --- a/tests/translator/output/aws-cn/connector_samfunction_to_table.json +++ b/tests/translator/output/aws-cn/connector_samfunction_to_table.json @@ -66,7 +66,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_sfn_to_function.json b/tests/translator/output/aws-cn/connector_sfn_to_function.json index 59965c5ac1..1cc6ace083 100644 --- a/tests/translator/output/aws-cn/connector_sfn_to_function.json +++ b/tests/translator/output/aws-cn/connector_sfn_to_function.json @@ -54,7 +54,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_sfn_to_function_without_policy.json b/tests/translator/output/aws-cn/connector_sfn_to_function_without_policy.json index 3e84b0ddfd..e176ccecb9 100644 --- a/tests/translator/output/aws-cn/connector_sfn_to_function_without_policy.json +++ b/tests/translator/output/aws-cn/connector_sfn_to_function_without_policy.json @@ -57,7 +57,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_sns_to_function.json b/tests/translator/output/aws-cn/connector_sns_to_function.json index d353e61557..6bb51c21ea 100644 --- a/tests/translator/output/aws-cn/connector_sns_to_function.json +++ b/tests/translator/output/aws-cn/connector_sns_to_function.json @@ -47,7 +47,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, diff --git a/tests/translator/output/aws-cn/connector_sqs_to_function.json b/tests/translator/output/aws-cn/connector_sqs_to_function.json index 42ec15cc11..5863a31c3b 100644 --- a/tests/translator/output/aws-cn/connector_sqs_to_function.json +++ b/tests/translator/output/aws-cn/connector_sqs_to_function.json @@ -75,7 +75,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -186,7 +186,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_sqs_to_multiple_function.json b/tests/translator/output/aws-cn/connector_sqs_to_multiple_function.json index ce9c3ff6b5..d5a25e659d 100644 --- a/tests/translator/output/aws-cn/connector_sqs_to_multiple_function.json +++ b/tests/translator/output/aws-cn/connector_sqs_to_multiple_function.json @@ -131,7 +131,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -160,7 +160,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_table_to_function.json b/tests/translator/output/aws-cn/connector_table_to_function.json index ed90208e1d..7a31ae5f9c 100644 --- a/tests/translator/output/aws-cn/connector_table_to_function.json +++ b/tests/translator/output/aws-cn/connector_table_to_function.json @@ -70,7 +70,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, diff --git a/tests/translator/output/aws-cn/connector_table_to_function_read.json b/tests/translator/output/aws-cn/connector_table_to_function_read.json index 90f02cbcdc..a6a2dee735 100644 --- a/tests/translator/output/aws-cn/connector_table_to_function_read.json +++ b/tests/translator/output/aws-cn/connector_table_to_function_read.json @@ -153,7 +153,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -264,7 +264,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/connector_with_non_id_source_and_destination.json b/tests/translator/output/aws-cn/connector_with_non_id_source_and_destination.json index 663d4e6639..26dadfc851 100644 --- a/tests/translator/output/aws-cn/connector_with_non_id_source_and_destination.json +++ b/tests/translator/output/aws-cn/connector_with_non_id_source_and_destination.json @@ -240,7 +240,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/embedded_connector_function_to_multi_dest.json b/tests/translator/output/aws-cn/embedded_connector_function_to_multi_dest.json index c2fb8a1028..7cd0cab3ff 100644 --- a/tests/translator/output/aws-cn/embedded_connector_function_to_multi_dest.json +++ b/tests/translator/output/aws-cn/embedded_connector_function_to_multi_dest.json @@ -18,7 +18,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/embedded_connectors_api_to_function.json b/tests/translator/output/aws-cn/embedded_connectors_api_to_function.json index 153c24f130..601489e387 100644 --- a/tests/translator/output/aws-cn/embedded_connectors_api_to_function.json +++ b/tests/translator/output/aws-cn/embedded_connectors_api_to_function.json @@ -81,7 +81,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -224,7 +224,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/embedded_connectors_function_to.json b/tests/translator/output/aws-cn/embedded_connectors_function_to.json index 4e5d36c962..9abbedb804 100644 --- a/tests/translator/output/aws-cn/embedded_connectors_function_to.json +++ b/tests/translator/output/aws-cn/embedded_connectors_function_to.json @@ -22,7 +22,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -286,7 +286,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/embedded_connectors_sfn_to.json b/tests/translator/output/aws-cn/embedded_connectors_sfn_to.json index 0a77f1c153..32d947a23c 100644 --- a/tests/translator/output/aws-cn/embedded_connectors_sfn_to.json +++ b/tests/translator/output/aws-cn/embedded_connectors_sfn_to.json @@ -12,7 +12,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/embedded_connectors_sns_to.json b/tests/translator/output/aws-cn/embedded_connectors_sns_to.json index 86ee346e97..9e2666b4fa 100644 --- a/tests/translator/output/aws-cn/embedded_connectors_sns_to.json +++ b/tests/translator/output/aws-cn/embedded_connectors_sns_to.json @@ -12,7 +12,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/embedded_connectors_table_to_function.json b/tests/translator/output/aws-cn/embedded_connectors_table_to_function.json index d670efe228..163c1272f7 100644 --- a/tests/translator/output/aws-cn/embedded_connectors_table_to_function.json +++ b/tests/translator/output/aws-cn/embedded_connectors_table_to_function.json @@ -19,7 +19,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -51,7 +51,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/event_bridge_rule_super_long_id.json b/tests/translator/output/aws-cn/event_bridge_rule_super_long_id.json index 769f7b72e5..920ebea1a7 100644 --- a/tests/translator/output/aws-cn/event_bridge_rule_super_long_id.json +++ b/tests/translator/output/aws-cn/event_bridge_rule_super_long_id.json @@ -12,7 +12,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/function_with_events_and_propagate_tags.json b/tests/translator/output/aws-cn/function_with_events_and_propagate_tags.json index 7ef6fd9677..f6bd2edb33 100644 --- a/tests/translator/output/aws-cn/function_with_events_and_propagate_tags.json +++ b/tests/translator/output/aws-cn/function_with_events_and_propagate_tags.json @@ -98,7 +98,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "Key1", diff --git a/tests/translator/output/aws-cn/function_with_mq.json b/tests/translator/output/aws-cn/function_with_mq.json index cab5165afe..c214e69af7 100644 --- a/tests/translator/output/aws-cn/function_with_mq.json +++ b/tests/translator/output/aws-cn/function_with_mq.json @@ -168,7 +168,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/function_with_mq_using_autogen_role.json b/tests/translator/output/aws-cn/function_with_mq_using_autogen_role.json index bc416052f5..7064e52e54 100644 --- a/tests/translator/output/aws-cn/function_with_mq_using_autogen_role.json +++ b/tests/translator/output/aws-cn/function_with_mq_using_autogen_role.json @@ -103,7 +103,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/function_with_msk_2.json b/tests/translator/output/aws-cn/function_with_msk_2.json index 7fd48ba398..848986076c 100644 --- a/tests/translator/output/aws-cn/function_with_msk_2.json +++ b/tests/translator/output/aws-cn/function_with_msk_2.json @@ -109,7 +109,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/function_with_msk_using_managed_policy.json b/tests/translator/output/aws-cn/function_with_msk_using_managed_policy.json index 6675ee30c9..33e0e01524 100644 --- a/tests/translator/output/aws-cn/function_with_msk_using_managed_policy.json +++ b/tests/translator/output/aws-cn/function_with_msk_using_managed_policy.json @@ -53,7 +53,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/function_with_propagate_tags_and_no_tags.json b/tests/translator/output/aws-cn/function_with_propagate_tags_and_no_tags.json index 9c44a1e702..b0696e8a5f 100644 --- a/tests/translator/output/aws-cn/function_with_propagate_tags_and_no_tags.json +++ b/tests/translator/output/aws-cn/function_with_propagate_tags_and_no_tags.json @@ -36,7 +36,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/function_with_tracing.json b/tests/translator/output/aws-cn/function_with_tracing.json index 85d0a98b5e..d6e131f155 100644 --- a/tests/translator/output/aws-cn/function_with_tracing.json +++ b/tests/translator/output/aws-cn/function_with_tracing.json @@ -27,7 +27,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -88,7 +88,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -147,7 +147,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -202,7 +202,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -257,7 +257,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -312,7 +312,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -371,7 +371,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -432,7 +432,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -491,7 +491,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/graphqlapi_multiple_auth.json b/tests/translator/output/aws-cn/graphqlapi_multiple_auth.json index be430cb361..062648965c 100644 --- a/tests/translator/output/aws-cn/graphqlapi_multiple_auth.json +++ b/tests/translator/output/aws-cn/graphqlapi_multiple_auth.json @@ -13,7 +13,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -66,7 +66,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/http_api_with_custom_domains_regional.json b/tests/translator/output/aws-cn/http_api_with_custom_domains_regional.json index 17ee3fa267..a257285360 100644 --- a/tests/translator/output/aws-cn/http_api_with_custom_domains_regional.json +++ b/tests/translator/output/aws-cn/http_api_with_custom_domains_regional.json @@ -140,7 +140,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/http_api_with_custom_domains_regional_latency_routing.json b/tests/translator/output/aws-cn/http_api_with_custom_domains_regional_latency_routing.json index 4e340c8035..84348e4f79 100644 --- a/tests/translator/output/aws-cn/http_api_with_custom_domains_regional_latency_routing.json +++ b/tests/translator/output/aws-cn/http_api_with_custom_domains_regional_latency_routing.json @@ -26,7 +26,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/http_api_with_custom_domains_regional_latency_routing_ipv6.json b/tests/translator/output/aws-cn/http_api_with_custom_domains_regional_latency_routing_ipv6.json index 4e340c8035..84348e4f79 100644 --- a/tests/translator/output/aws-cn/http_api_with_custom_domains_regional_latency_routing_ipv6.json +++ b/tests/translator/output/aws-cn/http_api_with_custom_domains_regional_latency_routing_ipv6.json @@ -26,7 +26,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/http_api_with_custom_domains_regional_ownership_verification.json b/tests/translator/output/aws-cn/http_api_with_custom_domains_regional_ownership_verification.json index d42b6dd3e7..2f5a2d250f 100644 --- a/tests/translator/output/aws-cn/http_api_with_custom_domains_regional_ownership_verification.json +++ b/tests/translator/output/aws-cn/http_api_with_custom_domains_regional_ownership_verification.json @@ -146,7 +146,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/http_api_with_default_stage_name_and_fail_on_warnings.json b/tests/translator/output/aws-cn/http_api_with_default_stage_name_and_fail_on_warnings.json index 3c536e79a2..f8f18cf4c1 100644 --- a/tests/translator/output/aws-cn/http_api_with_default_stage_name_and_fail_on_warnings.json +++ b/tests/translator/output/aws-cn/http_api_with_default_stage_name_and_fail_on_warnings.json @@ -62,7 +62,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/schema_validation_1.json b/tests/translator/output/aws-cn/schema_validation_1.json index b3c37a24c2..af15b6a9cf 100644 --- a/tests/translator/output/aws-cn/schema_validation_1.json +++ b/tests/translator/output/aws-cn/schema_validation_1.json @@ -27,7 +27,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/schema_validation_5.json b/tests/translator/output/aws-cn/schema_validation_5.json index ca772f3ffc..febfa7bae2 100644 --- a/tests/translator/output/aws-cn/schema_validation_5.json +++ b/tests/translator/output/aws-cn/schema_validation_5.json @@ -49,7 +49,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-cn/state_machine_with_schedule_target_id.json b/tests/translator/output/aws-cn/state_machine_with_schedule_target_id.json index 3611dba146..da4691efb5 100644 --- a/tests/translator/output/aws-cn/state_machine_with_schedule_target_id.json +++ b/tests/translator/output/aws-cn/state_machine_with_schedule_target_id.json @@ -12,7 +12,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/api_merge_definitions_global.json b/tests/translator/output/aws-us-gov/api_merge_definitions_global.json index edf27308b7..8247f57b57 100644 --- a/tests/translator/output/aws-us-gov/api_merge_definitions_global.json +++ b/tests/translator/output/aws-us-gov/api_merge_definitions_global.json @@ -121,7 +121,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/api_merge_definitions_with_conflicting_auth.json b/tests/translator/output/aws-us-gov/api_merge_definitions_with_conflicting_auth.json index edf27308b7..8247f57b57 100644 --- a/tests/translator/output/aws-us-gov/api_merge_definitions_with_conflicting_auth.json +++ b/tests/translator/output/aws-us-gov/api_merge_definitions_with_conflicting_auth.json @@ -121,7 +121,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/api_merge_definitions_with_conflicting_methods.json b/tests/translator/output/aws-us-gov/api_merge_definitions_with_conflicting_methods.json index 8beb184c25..c3e8dd6e55 100644 --- a/tests/translator/output/aws-us-gov/api_merge_definitions_with_conflicting_methods.json +++ b/tests/translator/output/aws-us-gov/api_merge_definitions_with_conflicting_methods.json @@ -98,7 +98,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/api_merge_definitions_with_conflicting_request_models.json b/tests/translator/output/aws-us-gov/api_merge_definitions_with_conflicting_request_models.json index a8b1dd0755..0fca9ec8cf 100644 --- a/tests/translator/output/aws-us-gov/api_merge_definitions_with_conflicting_request_models.json +++ b/tests/translator/output/aws-us-gov/api_merge_definitions_with_conflicting_request_models.json @@ -127,7 +127,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/api_merge_definitions_with_different_methods.json b/tests/translator/output/aws-us-gov/api_merge_definitions_with_different_methods.json index 404e1f3d37..f7adb71b7e 100644 --- a/tests/translator/output/aws-us-gov/api_merge_definitions_with_different_methods.json +++ b/tests/translator/output/aws-us-gov/api_merge_definitions_with_different_methods.json @@ -107,7 +107,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/api_merge_definitions_with_full_properties.json b/tests/translator/output/aws-us-gov/api_merge_definitions_with_full_properties.json index 0789d514e5..d6b7ff5e3d 100644 --- a/tests/translator/output/aws-us-gov/api_merge_definitions_with_full_properties.json +++ b/tests/translator/output/aws-us-gov/api_merge_definitions_with_full_properties.json @@ -125,7 +125,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/api_with_custom_domain_regional.json b/tests/translator/output/aws-us-gov/api_with_custom_domain_regional.json index ffc00bff52..5dfcbaa62d 100644 --- a/tests/translator/output/aws-us-gov/api_with_custom_domain_regional.json +++ b/tests/translator/output/aws-us-gov/api_with_custom_domain_regional.json @@ -46,7 +46,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/api_with_custom_domains_edge.json b/tests/translator/output/aws-us-gov/api_with_custom_domains_edge.json index 8e4577b92b..417bd619ec 100644 --- a/tests/translator/output/aws-us-gov/api_with_custom_domains_edge.json +++ b/tests/translator/output/aws-us-gov/api_with_custom_domains_edge.json @@ -114,7 +114,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/api_with_custom_domains_regional.json b/tests/translator/output/aws-us-gov/api_with_custom_domains_regional.json index ffc00bff52..5dfcbaa62d 100644 --- a/tests/translator/output/aws-us-gov/api_with_custom_domains_regional.json +++ b/tests/translator/output/aws-us-gov/api_with_custom_domains_regional.json @@ -46,7 +46,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/api_with_custom_domains_regional_latency_routing.json b/tests/translator/output/aws-us-gov/api_with_custom_domains_regional_latency_routing.json index b0467d63ad..c62a69bd49 100644 --- a/tests/translator/output/aws-us-gov/api_with_custom_domains_regional_latency_routing.json +++ b/tests/translator/output/aws-us-gov/api_with_custom_domains_regional_latency_routing.json @@ -46,7 +46,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/api_with_custom_domains_regional_latency_routing_ipv6.json b/tests/translator/output/aws-us-gov/api_with_custom_domains_regional_latency_routing_ipv6.json index 5a45064519..3989a2d1f3 100644 --- a/tests/translator/output/aws-us-gov/api_with_custom_domains_regional_latency_routing_ipv6.json +++ b/tests/translator/output/aws-us-gov/api_with_custom_domains_regional_latency_routing_ipv6.json @@ -46,7 +46,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/api_with_custom_domains_regional_ownership_verification.json b/tests/translator/output/aws-us-gov/api_with_custom_domains_regional_ownership_verification.json index 4926f508bd..bdc4a90a65 100644 --- a/tests/translator/output/aws-us-gov/api_with_custom_domains_regional_ownership_verification.json +++ b/tests/translator/output/aws-us-gov/api_with_custom_domains_regional_ownership_verification.json @@ -52,7 +52,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/api_with_request_parameters_openapi.json b/tests/translator/output/aws-us-gov/api_with_request_parameters_openapi.json index ce0d5c260f..a41ed504a0 100644 --- a/tests/translator/output/aws-us-gov/api_with_request_parameters_openapi.json +++ b/tests/translator/output/aws-us-gov/api_with_request_parameters_openapi.json @@ -15,7 +15,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/congito_userpool_with_sms_configuration.json b/tests/translator/output/aws-us-gov/congito_userpool_with_sms_configuration.json index 8e8734dc32..70a6e5cc3a 100644 --- a/tests/translator/output/aws-us-gov/congito_userpool_with_sms_configuration.json +++ b/tests/translator/output/aws-us-gov/congito_userpool_with_sms_configuration.json @@ -13,7 +13,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_api_to_function.json b/tests/translator/output/aws-us-gov/connector_api_to_function.json index 40417f8b3d..701fee7b69 100644 --- a/tests/translator/output/aws-us-gov/connector_api_to_function.json +++ b/tests/translator/output/aws-us-gov/connector_api_to_function.json @@ -189,7 +189,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -305,7 +305,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_api_to_multiple_function.json b/tests/translator/output/aws-us-gov/connector_api_to_multiple_function.json index 2d69c2cf5a..1aec7a6b26 100644 --- a/tests/translator/output/aws-us-gov/connector_api_to_multiple_function.json +++ b/tests/translator/output/aws-us-gov/connector_api_to_multiple_function.json @@ -84,7 +84,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -166,7 +166,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_appsync_api_to_lambda.json b/tests/translator/output/aws-us-gov/connector_appsync_api_to_lambda.json index 923173f76d..6cb4c9aa8a 100644 --- a/tests/translator/output/aws-us-gov/connector_appsync_api_to_lambda.json +++ b/tests/translator/output/aws-us-gov/connector_appsync_api_to_lambda.json @@ -28,7 +28,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_appsync_to_lambda.json b/tests/translator/output/aws-us-gov/connector_appsync_to_lambda.json index b6b799b2fd..177fce2560 100644 --- a/tests/translator/output/aws-us-gov/connector_appsync_to_lambda.json +++ b/tests/translator/output/aws-us-gov/connector_appsync_to_lambda.json @@ -132,7 +132,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_bucket_to_function.json b/tests/translator/output/aws-us-gov/connector_bucket_to_function.json index 665701e941..02029f721b 100644 --- a/tests/translator/output/aws-us-gov/connector_bucket_to_function.json +++ b/tests/translator/output/aws-us-gov/connector_bucket_to_function.json @@ -34,7 +34,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_function_to_location.json b/tests/translator/output/aws-us-gov/connector_function_to_location.json index 0c62dc82fc..3332eda036 100644 --- a/tests/translator/output/aws-us-gov/connector_function_to_location.json +++ b/tests/translator/output/aws-us-gov/connector_function_to_location.json @@ -99,7 +99,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_function_to_multiple_s3.json b/tests/translator/output/aws-us-gov/connector_function_to_multiple_s3.json index 31b4387bce..07caf9bb92 100644 --- a/tests/translator/output/aws-us-gov/connector_function_to_multiple_s3.json +++ b/tests/translator/output/aws-us-gov/connector_function_to_multiple_s3.json @@ -216,7 +216,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_function_to_s3.json b/tests/translator/output/aws-us-gov/connector_function_to_s3.json index f5b3735be1..16bb306ad6 100644 --- a/tests/translator/output/aws-us-gov/connector_function_to_s3.json +++ b/tests/translator/output/aws-us-gov/connector_function_to_s3.json @@ -114,7 +114,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_function_to_sqs.json b/tests/translator/output/aws-us-gov/connector_function_to_sqs.json index 58072618aa..148bfa601f 100644 --- a/tests/translator/output/aws-us-gov/connector_function_to_sqs.json +++ b/tests/translator/output/aws-us-gov/connector_function_to_sqs.json @@ -164,7 +164,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -202,7 +202,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_function_to_table.json b/tests/translator/output/aws-us-gov/connector_function_to_table.json index 198190db7b..4e1c320541 100644 --- a/tests/translator/output/aws-us-gov/connector_function_to_table.json +++ b/tests/translator/output/aws-us-gov/connector_function_to_table.json @@ -288,7 +288,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -330,7 +330,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_mix_destination.json b/tests/translator/output/aws-us-gov/connector_mix_destination.json index 480013937f..29a72f2924 100644 --- a/tests/translator/output/aws-us-gov/connector_mix_destination.json +++ b/tests/translator/output/aws-us-gov/connector_mix_destination.json @@ -57,7 +57,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -228,7 +228,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_samfunction_to_table.json b/tests/translator/output/aws-us-gov/connector_samfunction_to_table.json index 707cae689c..6396b8f7ab 100644 --- a/tests/translator/output/aws-us-gov/connector_samfunction_to_table.json +++ b/tests/translator/output/aws-us-gov/connector_samfunction_to_table.json @@ -66,7 +66,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_sfn_to_function.json b/tests/translator/output/aws-us-gov/connector_sfn_to_function.json index 98ace1cbd9..663386836b 100644 --- a/tests/translator/output/aws-us-gov/connector_sfn_to_function.json +++ b/tests/translator/output/aws-us-gov/connector_sfn_to_function.json @@ -54,7 +54,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_sfn_to_function_without_policy.json b/tests/translator/output/aws-us-gov/connector_sfn_to_function_without_policy.json index 8ec6cc2b9c..b77a2298c4 100644 --- a/tests/translator/output/aws-us-gov/connector_sfn_to_function_without_policy.json +++ b/tests/translator/output/aws-us-gov/connector_sfn_to_function_without_policy.json @@ -57,7 +57,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_sns_to_function.json b/tests/translator/output/aws-us-gov/connector_sns_to_function.json index d353e61557..6bb51c21ea 100644 --- a/tests/translator/output/aws-us-gov/connector_sns_to_function.json +++ b/tests/translator/output/aws-us-gov/connector_sns_to_function.json @@ -47,7 +47,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, diff --git a/tests/translator/output/aws-us-gov/connector_sqs_to_function.json b/tests/translator/output/aws-us-gov/connector_sqs_to_function.json index 5c4592ae8d..093b4c83a5 100644 --- a/tests/translator/output/aws-us-gov/connector_sqs_to_function.json +++ b/tests/translator/output/aws-us-gov/connector_sqs_to_function.json @@ -75,7 +75,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -186,7 +186,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_sqs_to_multiple_function.json b/tests/translator/output/aws-us-gov/connector_sqs_to_multiple_function.json index b4cd82c8e0..7e8401e1f8 100644 --- a/tests/translator/output/aws-us-gov/connector_sqs_to_multiple_function.json +++ b/tests/translator/output/aws-us-gov/connector_sqs_to_multiple_function.json @@ -131,7 +131,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -160,7 +160,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_table_to_function.json b/tests/translator/output/aws-us-gov/connector_table_to_function.json index ed90208e1d..7a31ae5f9c 100644 --- a/tests/translator/output/aws-us-gov/connector_table_to_function.json +++ b/tests/translator/output/aws-us-gov/connector_table_to_function.json @@ -70,7 +70,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, diff --git a/tests/translator/output/aws-us-gov/connector_table_to_function_read.json b/tests/translator/output/aws-us-gov/connector_table_to_function_read.json index 9cfe3060da..6c33b267ee 100644 --- a/tests/translator/output/aws-us-gov/connector_table_to_function_read.json +++ b/tests/translator/output/aws-us-gov/connector_table_to_function_read.json @@ -153,7 +153,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -264,7 +264,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/connector_with_non_id_source_and_destination.json b/tests/translator/output/aws-us-gov/connector_with_non_id_source_and_destination.json index 663d4e6639..26dadfc851 100644 --- a/tests/translator/output/aws-us-gov/connector_with_non_id_source_and_destination.json +++ b/tests/translator/output/aws-us-gov/connector_with_non_id_source_and_destination.json @@ -240,7 +240,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/embedded_connector_function_to_multi_dest.json b/tests/translator/output/aws-us-gov/embedded_connector_function_to_multi_dest.json index a6c927d579..7bfb56a2c0 100644 --- a/tests/translator/output/aws-us-gov/embedded_connector_function_to_multi_dest.json +++ b/tests/translator/output/aws-us-gov/embedded_connector_function_to_multi_dest.json @@ -18,7 +18,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/embedded_connectors_api_to_function.json b/tests/translator/output/aws-us-gov/embedded_connectors_api_to_function.json index d0911f3369..f4c4bf45f4 100644 --- a/tests/translator/output/aws-us-gov/embedded_connectors_api_to_function.json +++ b/tests/translator/output/aws-us-gov/embedded_connectors_api_to_function.json @@ -81,7 +81,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -224,7 +224,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/embedded_connectors_function_to.json b/tests/translator/output/aws-us-gov/embedded_connectors_function_to.json index cca78d4dec..3234aeacce 100644 --- a/tests/translator/output/aws-us-gov/embedded_connectors_function_to.json +++ b/tests/translator/output/aws-us-gov/embedded_connectors_function_to.json @@ -22,7 +22,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -286,7 +286,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/embedded_connectors_sfn_to.json b/tests/translator/output/aws-us-gov/embedded_connectors_sfn_to.json index 0b13e08b34..9ca894174e 100644 --- a/tests/translator/output/aws-us-gov/embedded_connectors_sfn_to.json +++ b/tests/translator/output/aws-us-gov/embedded_connectors_sfn_to.json @@ -12,7 +12,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/embedded_connectors_sns_to.json b/tests/translator/output/aws-us-gov/embedded_connectors_sns_to.json index f66dfbeaeb..0f5d322ad6 100644 --- a/tests/translator/output/aws-us-gov/embedded_connectors_sns_to.json +++ b/tests/translator/output/aws-us-gov/embedded_connectors_sns_to.json @@ -12,7 +12,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/embedded_connectors_table_to_function.json b/tests/translator/output/aws-us-gov/embedded_connectors_table_to_function.json index dbe33277dc..830d934f9c 100644 --- a/tests/translator/output/aws-us-gov/embedded_connectors_table_to_function.json +++ b/tests/translator/output/aws-us-gov/embedded_connectors_table_to_function.json @@ -19,7 +19,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -51,7 +51,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/event_bridge_rule_super_long_id.json b/tests/translator/output/aws-us-gov/event_bridge_rule_super_long_id.json index 059c90a824..2421221496 100644 --- a/tests/translator/output/aws-us-gov/event_bridge_rule_super_long_id.json +++ b/tests/translator/output/aws-us-gov/event_bridge_rule_super_long_id.json @@ -12,7 +12,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/function_with_events_and_propagate_tags.json b/tests/translator/output/aws-us-gov/function_with_events_and_propagate_tags.json index 38fbe5ad4a..dc38b9c2d0 100644 --- a/tests/translator/output/aws-us-gov/function_with_events_and_propagate_tags.json +++ b/tests/translator/output/aws-us-gov/function_with_events_and_propagate_tags.json @@ -98,7 +98,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "Key1", diff --git a/tests/translator/output/aws-us-gov/function_with_mq.json b/tests/translator/output/aws-us-gov/function_with_mq.json index cab5165afe..c214e69af7 100644 --- a/tests/translator/output/aws-us-gov/function_with_mq.json +++ b/tests/translator/output/aws-us-gov/function_with_mq.json @@ -168,7 +168,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/function_with_mq_using_autogen_role.json b/tests/translator/output/aws-us-gov/function_with_mq_using_autogen_role.json index 7b412aee93..c4dff902f2 100644 --- a/tests/translator/output/aws-us-gov/function_with_mq_using_autogen_role.json +++ b/tests/translator/output/aws-us-gov/function_with_mq_using_autogen_role.json @@ -103,7 +103,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/function_with_msk_2.json b/tests/translator/output/aws-us-gov/function_with_msk_2.json index 7fd48ba398..848986076c 100644 --- a/tests/translator/output/aws-us-gov/function_with_msk_2.json +++ b/tests/translator/output/aws-us-gov/function_with_msk_2.json @@ -109,7 +109,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/function_with_msk_using_managed_policy.json b/tests/translator/output/aws-us-gov/function_with_msk_using_managed_policy.json index bf86274ef1..ef1db282c3 100644 --- a/tests/translator/output/aws-us-gov/function_with_msk_using_managed_policy.json +++ b/tests/translator/output/aws-us-gov/function_with_msk_using_managed_policy.json @@ -53,7 +53,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/function_with_propagate_tags_and_no_tags.json b/tests/translator/output/aws-us-gov/function_with_propagate_tags_and_no_tags.json index fdd20e5149..b98a789d10 100644 --- a/tests/translator/output/aws-us-gov/function_with_propagate_tags_and_no_tags.json +++ b/tests/translator/output/aws-us-gov/function_with_propagate_tags_and_no_tags.json @@ -36,7 +36,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/function_with_tracing.json b/tests/translator/output/aws-us-gov/function_with_tracing.json index 85f2cc3bb9..e04b352743 100644 --- a/tests/translator/output/aws-us-gov/function_with_tracing.json +++ b/tests/translator/output/aws-us-gov/function_with_tracing.json @@ -27,7 +27,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -88,7 +88,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -147,7 +147,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -202,7 +202,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -257,7 +257,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -312,7 +312,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -371,7 +371,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -432,7 +432,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -491,7 +491,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/graphqlapi_multiple_auth.json b/tests/translator/output/aws-us-gov/graphqlapi_multiple_auth.json index d2c5969128..d8907ed2d5 100644 --- a/tests/translator/output/aws-us-gov/graphqlapi_multiple_auth.json +++ b/tests/translator/output/aws-us-gov/graphqlapi_multiple_auth.json @@ -13,7 +13,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -66,7 +66,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional.json b/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional.json index 768884d10c..d45bbce796 100644 --- a/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional.json +++ b/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional.json @@ -140,7 +140,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional_latency_routing.json b/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional_latency_routing.json index 9fa3d95cd6..35fe76f7c0 100644 --- a/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional_latency_routing.json +++ b/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional_latency_routing.json @@ -26,7 +26,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional_latency_routing_ipv6.json b/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional_latency_routing_ipv6.json index 9fa3d95cd6..35fe76f7c0 100644 --- a/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional_latency_routing_ipv6.json +++ b/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional_latency_routing_ipv6.json @@ -26,7 +26,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional_ownership_verification.json b/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional_ownership_verification.json index fa3d7c908c..fd90b1443e 100644 --- a/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional_ownership_verification.json +++ b/tests/translator/output/aws-us-gov/http_api_with_custom_domains_regional_ownership_verification.json @@ -146,7 +146,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/http_api_with_default_stage_name_and_fail_on_warnings.json b/tests/translator/output/aws-us-gov/http_api_with_default_stage_name_and_fail_on_warnings.json index b93fb4f4fb..296bbbe01c 100644 --- a/tests/translator/output/aws-us-gov/http_api_with_default_stage_name_and_fail_on_warnings.json +++ b/tests/translator/output/aws-us-gov/http_api_with_default_stage_name_and_fail_on_warnings.json @@ -62,7 +62,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/schema_validation_1.json b/tests/translator/output/aws-us-gov/schema_validation_1.json index a09bffe975..1c9113937c 100644 --- a/tests/translator/output/aws-us-gov/schema_validation_1.json +++ b/tests/translator/output/aws-us-gov/schema_validation_1.json @@ -27,7 +27,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/schema_validation_5.json b/tests/translator/output/aws-us-gov/schema_validation_5.json index b2e0745abb..2f01030295 100644 --- a/tests/translator/output/aws-us-gov/schema_validation_5.json +++ b/tests/translator/output/aws-us-gov/schema_validation_5.json @@ -49,7 +49,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/aws-us-gov/state_machine_with_schedule_target_id.json b/tests/translator/output/aws-us-gov/state_machine_with_schedule_target_id.json index 30753bf7fe..24ffe160c2 100644 --- a/tests/translator/output/aws-us-gov/state_machine_with_schedule_target_id.json +++ b/tests/translator/output/aws-us-gov/state_machine_with_schedule_target_id.json @@ -12,7 +12,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/congito_userpool_with_sms_configuration.json b/tests/translator/output/congito_userpool_with_sms_configuration.json index 0a3c432fa9..e45d91782c 100644 --- a/tests/translator/output/congito_userpool_with_sms_configuration.json +++ b/tests/translator/output/congito_userpool_with_sms_configuration.json @@ -13,7 +13,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_api_to_function.json b/tests/translator/output/connector_api_to_function.json index 48c626930d..76af694e44 100644 --- a/tests/translator/output/connector_api_to_function.json +++ b/tests/translator/output/connector_api_to_function.json @@ -189,7 +189,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -297,7 +297,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_api_to_multiple_function.json b/tests/translator/output/connector_api_to_multiple_function.json index af99686066..3b7d8e5fe3 100644 --- a/tests/translator/output/connector_api_to_multiple_function.json +++ b/tests/translator/output/connector_api_to_multiple_function.json @@ -84,7 +84,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -158,7 +158,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_appsync_api_to_lambda.json b/tests/translator/output/connector_appsync_api_to_lambda.json index c19aa3dad7..bf4249b58e 100644 --- a/tests/translator/output/connector_appsync_api_to_lambda.json +++ b/tests/translator/output/connector_appsync_api_to_lambda.json @@ -28,7 +28,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_appsync_to_lambda.json b/tests/translator/output/connector_appsync_to_lambda.json index 3e0162c55e..2b6a7c3034 100644 --- a/tests/translator/output/connector_appsync_to_lambda.json +++ b/tests/translator/output/connector_appsync_to_lambda.json @@ -132,7 +132,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_bucket_to_function.json b/tests/translator/output/connector_bucket_to_function.json index 0c4f2124df..5c8c371df5 100644 --- a/tests/translator/output/connector_bucket_to_function.json +++ b/tests/translator/output/connector_bucket_to_function.json @@ -34,7 +34,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_function_to_location.json b/tests/translator/output/connector_function_to_location.json index 36b646c83e..723e60315c 100644 --- a/tests/translator/output/connector_function_to_location.json +++ b/tests/translator/output/connector_function_to_location.json @@ -99,7 +99,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_function_to_multiple_s3.json b/tests/translator/output/connector_function_to_multiple_s3.json index 8368e58410..2bec59cc02 100644 --- a/tests/translator/output/connector_function_to_multiple_s3.json +++ b/tests/translator/output/connector_function_to_multiple_s3.json @@ -216,7 +216,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_function_to_s3.json b/tests/translator/output/connector_function_to_s3.json index 6c49fa4daa..ed9aada920 100644 --- a/tests/translator/output/connector_function_to_s3.json +++ b/tests/translator/output/connector_function_to_s3.json @@ -114,7 +114,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_function_to_sqs.json b/tests/translator/output/connector_function_to_sqs.json index 911f7a6a2d..c74abc91e1 100644 --- a/tests/translator/output/connector_function_to_sqs.json +++ b/tests/translator/output/connector_function_to_sqs.json @@ -164,7 +164,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -202,7 +202,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_function_to_table.json b/tests/translator/output/connector_function_to_table.json index 0dbe304d79..9e889e637d 100644 --- a/tests/translator/output/connector_function_to_table.json +++ b/tests/translator/output/connector_function_to_table.json @@ -288,7 +288,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -330,7 +330,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_mix_destination.json b/tests/translator/output/connector_mix_destination.json index 4fe0d40daa..1f066e3216 100644 --- a/tests/translator/output/connector_mix_destination.json +++ b/tests/translator/output/connector_mix_destination.json @@ -57,7 +57,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -228,7 +228,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_samfunction_to_table.json b/tests/translator/output/connector_samfunction_to_table.json index 2a1f5bb24e..63b52bce39 100644 --- a/tests/translator/output/connector_samfunction_to_table.json +++ b/tests/translator/output/connector_samfunction_to_table.json @@ -66,7 +66,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_sfn_to_function.json b/tests/translator/output/connector_sfn_to_function.json index a105eece95..000199f5cd 100644 --- a/tests/translator/output/connector_sfn_to_function.json +++ b/tests/translator/output/connector_sfn_to_function.json @@ -54,7 +54,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_sfn_to_function_without_policy.json b/tests/translator/output/connector_sfn_to_function_without_policy.json index 96ae532c9c..9df8dde2d3 100644 --- a/tests/translator/output/connector_sfn_to_function_without_policy.json +++ b/tests/translator/output/connector_sfn_to_function_without_policy.json @@ -57,7 +57,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_sns_to_function.json b/tests/translator/output/connector_sns_to_function.json index d353e61557..6bb51c21ea 100644 --- a/tests/translator/output/connector_sns_to_function.json +++ b/tests/translator/output/connector_sns_to_function.json @@ -47,7 +47,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, diff --git a/tests/translator/output/connector_sqs_to_function.json b/tests/translator/output/connector_sqs_to_function.json index e459424f60..a4291930d1 100644 --- a/tests/translator/output/connector_sqs_to_function.json +++ b/tests/translator/output/connector_sqs_to_function.json @@ -75,7 +75,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -186,7 +186,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_sqs_to_multiple_function.json b/tests/translator/output/connector_sqs_to_multiple_function.json index 9cfa86b870..ca812eaf1e 100644 --- a/tests/translator/output/connector_sqs_to_multiple_function.json +++ b/tests/translator/output/connector_sqs_to_multiple_function.json @@ -131,7 +131,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -160,7 +160,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_table_to_function.json b/tests/translator/output/connector_table_to_function.json index ed90208e1d..7a31ae5f9c 100644 --- a/tests/translator/output/connector_table_to_function.json +++ b/tests/translator/output/connector_table_to_function.json @@ -70,7 +70,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, diff --git a/tests/translator/output/connector_table_to_function_read.json b/tests/translator/output/connector_table_to_function_read.json index 03a7493d11..eb8065299f 100644 --- a/tests/translator/output/connector_table_to_function_read.json +++ b/tests/translator/output/connector_table_to_function_read.json @@ -153,7 +153,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -264,7 +264,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/connector_with_non_id_source_and_destination.json b/tests/translator/output/connector_with_non_id_source_and_destination.json index 2023fc0d2f..c2d8294efd 100644 --- a/tests/translator/output/connector_with_non_id_source_and_destination.json +++ b/tests/translator/output/connector_with_non_id_source_and_destination.json @@ -232,7 +232,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/embedded_connector_function_to_multi_dest.json b/tests/translator/output/embedded_connector_function_to_multi_dest.json index 86ac8f6150..fc48452781 100644 --- a/tests/translator/output/embedded_connector_function_to_multi_dest.json +++ b/tests/translator/output/embedded_connector_function_to_multi_dest.json @@ -18,7 +18,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/embedded_connectors_api_to_function.json b/tests/translator/output/embedded_connectors_api_to_function.json index f542968e33..3d57dac805 100644 --- a/tests/translator/output/embedded_connectors_api_to_function.json +++ b/tests/translator/output/embedded_connectors_api_to_function.json @@ -81,7 +81,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -224,7 +224,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/embedded_connectors_function_to.json b/tests/translator/output/embedded_connectors_function_to.json index 33c9be734e..1adec47634 100644 --- a/tests/translator/output/embedded_connectors_function_to.json +++ b/tests/translator/output/embedded_connectors_function_to.json @@ -22,7 +22,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -286,7 +286,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/embedded_connectors_sfn_to.json b/tests/translator/output/embedded_connectors_sfn_to.json index 8c1ab68bf5..786ef6d2a9 100644 --- a/tests/translator/output/embedded_connectors_sfn_to.json +++ b/tests/translator/output/embedded_connectors_sfn_to.json @@ -12,7 +12,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/embedded_connectors_sns_to.json b/tests/translator/output/embedded_connectors_sns_to.json index 6e316b6e98..21b62adb3c 100644 --- a/tests/translator/output/embedded_connectors_sns_to.json +++ b/tests/translator/output/embedded_connectors_sns_to.json @@ -12,7 +12,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/embedded_connectors_table_to_function.json b/tests/translator/output/embedded_connectors_table_to_function.json index a2ad1fbfa8..92a624a75d 100644 --- a/tests/translator/output/embedded_connectors_table_to_function.json +++ b/tests/translator/output/embedded_connectors_table_to_function.json @@ -19,7 +19,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x" + "Runtime": "nodejs18.x" }, "Type": "AWS::Lambda::Function" }, @@ -51,7 +51,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/event_bridge_rule_super_long_id.json b/tests/translator/output/event_bridge_rule_super_long_id.json index dbbe2c2f10..77b6981856 100644 --- a/tests/translator/output/event_bridge_rule_super_long_id.json +++ b/tests/translator/output/event_bridge_rule_super_long_id.json @@ -12,7 +12,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/function_with_events_and_propagate_tags.json b/tests/translator/output/function_with_events_and_propagate_tags.json index dba785ab64..15b73e3f85 100644 --- a/tests/translator/output/function_with_events_and_propagate_tags.json +++ b/tests/translator/output/function_with_events_and_propagate_tags.json @@ -98,7 +98,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "Key1", diff --git a/tests/translator/output/function_with_mq.json b/tests/translator/output/function_with_mq.json index cab5165afe..c214e69af7 100644 --- a/tests/translator/output/function_with_mq.json +++ b/tests/translator/output/function_with_mq.json @@ -168,7 +168,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/function_with_mq_using_autogen_role.json b/tests/translator/output/function_with_mq_using_autogen_role.json index 61ebf7ab8e..9559436979 100644 --- a/tests/translator/output/function_with_mq_using_autogen_role.json +++ b/tests/translator/output/function_with_mq_using_autogen_role.json @@ -103,7 +103,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/function_with_msk_2.json b/tests/translator/output/function_with_msk_2.json index 7fd48ba398..848986076c 100644 --- a/tests/translator/output/function_with_msk_2.json +++ b/tests/translator/output/function_with_msk_2.json @@ -109,7 +109,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/function_with_msk_using_managed_policy.json b/tests/translator/output/function_with_msk_using_managed_policy.json index 04a2c33642..cc1b030a1f 100644 --- a/tests/translator/output/function_with_msk_using_managed_policy.json +++ b/tests/translator/output/function_with_msk_using_managed_policy.json @@ -53,7 +53,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/function_with_propagate_tags_and_no_tags.json b/tests/translator/output/function_with_propagate_tags_and_no_tags.json index 8b45d045dc..bf24648a49 100644 --- a/tests/translator/output/function_with_propagate_tags_and_no_tags.json +++ b/tests/translator/output/function_with_propagate_tags_and_no_tags.json @@ -36,7 +36,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/function_with_tracing.json b/tests/translator/output/function_with_tracing.json index aac2c4459f..a37093d278 100644 --- a/tests/translator/output/function_with_tracing.json +++ b/tests/translator/output/function_with_tracing.json @@ -27,7 +27,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -88,7 +88,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -147,7 +147,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -202,7 +202,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -257,7 +257,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -312,7 +312,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -371,7 +371,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -432,7 +432,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -491,7 +491,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/graphqlapi_multiple_auth.json b/tests/translator/output/graphqlapi_multiple_auth.json index 0fc7ff11ce..3177383715 100644 --- a/tests/translator/output/graphqlapi_multiple_auth.json +++ b/tests/translator/output/graphqlapi_multiple_auth.json @@ -13,7 +13,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", @@ -66,7 +66,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/http_api_with_custom_domains_regional.json b/tests/translator/output/http_api_with_custom_domains_regional.json index 90493bc475..6e0b08fbe6 100644 --- a/tests/translator/output/http_api_with_custom_domains_regional.json +++ b/tests/translator/output/http_api_with_custom_domains_regional.json @@ -140,7 +140,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/http_api_with_custom_domains_regional_latency_routing.json b/tests/translator/output/http_api_with_custom_domains_regional_latency_routing.json index acf358d9d2..fb5eff057b 100644 --- a/tests/translator/output/http_api_with_custom_domains_regional_latency_routing.json +++ b/tests/translator/output/http_api_with_custom_domains_regional_latency_routing.json @@ -26,7 +26,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/http_api_with_custom_domains_regional_latency_routing_ipv6.json b/tests/translator/output/http_api_with_custom_domains_regional_latency_routing_ipv6.json index acf358d9d2..fb5eff057b 100644 --- a/tests/translator/output/http_api_with_custom_domains_regional_latency_routing_ipv6.json +++ b/tests/translator/output/http_api_with_custom_domains_regional_latency_routing_ipv6.json @@ -26,7 +26,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/http_api_with_custom_domains_regional_ownership_verification.json b/tests/translator/output/http_api_with_custom_domains_regional_ownership_verification.json index dca20daddd..c5ccea3ffe 100644 --- a/tests/translator/output/http_api_with_custom_domains_regional_ownership_verification.json +++ b/tests/translator/output/http_api_with_custom_domains_regional_ownership_verification.json @@ -146,7 +146,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/http_api_with_default_stage_name_and_fail_on_warnings.json b/tests/translator/output/http_api_with_default_stage_name_and_fail_on_warnings.json index 97b131db27..a737a542b0 100644 --- a/tests/translator/output/http_api_with_default_stage_name_and_fail_on_warnings.json +++ b/tests/translator/output/http_api_with_default_stage_name_and_fail_on_warnings.json @@ -62,7 +62,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/schema_validation_1.json b/tests/translator/output/schema_validation_1.json index de56c4fc8a..da20bc0e6b 100644 --- a/tests/translator/output/schema_validation_1.json +++ b/tests/translator/output/schema_validation_1.json @@ -27,7 +27,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/schema_validation_5.json b/tests/translator/output/schema_validation_5.json index f63b56b96f..647477f8ed 100644 --- a/tests/translator/output/schema_validation_5.json +++ b/tests/translator/output/schema_validation_5.json @@ -49,7 +49,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/output/state_machine_with_schedule_target_id.json b/tests/translator/output/state_machine_with_schedule_target_id.json index 8b73cbc23d..96d68c27a9 100644 --- a/tests/translator/output/state_machine_with_schedule_target_id.json +++ b/tests/translator/output/state_machine_with_schedule_target_id.json @@ -12,7 +12,7 @@ "Arn" ] }, - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Tags": [ { "Key": "lambda:createdBy", diff --git a/tests/translator/test_translator.py b/tests/translator/test_translator.py index c1a2d56661..326086aa8e 100644 --- a/tests/translator/test_translator.py +++ b/tests/translator/test_translator.py @@ -857,7 +857,7 @@ def load(self): "Properties": { "Handler": "foo", "InlineCode": "bar", - "Runtime": "nodejs14.x", + "Runtime": "nodejs18.x", "Policies": policies, }, }, From fb3780549f1aa7334a15d2c90e4085ee44f62d91 Mon Sep 17 00:00:00 2001 From: aws-sam-cli-bot <46753707+aws-sam-cli-bot@users.noreply.github.com> Date: Tue, 5 Dec 2023 22:35:24 +0000 Subject: [PATCH 3/3] chore: bump version to 1.82.0 --- samtranslator/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samtranslator/__init__.py b/samtranslator/__init__.py index d88191f46a..fa29c9b5ff 100644 --- a/samtranslator/__init__.py +++ b/samtranslator/__init__.py @@ -1 +1 @@ -__version__ = "1.79.0" +__version__ = "1.82.0"