diff --git a/tests/translator/input/api_merge_definitions_global.yaml b/tests/translator/input/api_merge_definitions_global.yaml index 9ced7e797..f3ba2ab6d 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 ce2223efb..d52926a3f 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 1baa2b16c..a00b2d4c7 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 f52ffeb56..0aa9492cc 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 2231cab8e..a7586afd9 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 9e9184aba..3e3d85d38 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 089ce14f6..a79e18a5e 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 62f321f77..31dfee115 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 089ce14f6..a79e18a5e 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 24bd94678..a3214121f 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 ab5334a3d..3d6572e68 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 36bf45c84..d4f0b362b 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 cae4b4dd4..ebd025ff3 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 7a3c5d1b4..3231037c5 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 a9ab7244d..33bef09d2 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 030f72321..fe94a5a9b 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 0f7ffda74..f10f030cb 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 e8c94bf29..eb496a8a1 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 19dd070ff..c44dc2dc6 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 6256e6a58..00f1b54cb 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 e101a3093..e65130cd3 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 297f5bcc7..e76250ee0 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 64be5167d..c02fd9456 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 30f7ebc3b..d8d442fee 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 99f192562..6ff413ed3 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 47b1852ee..259d52aab 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 a011a40d3..862ab2e75 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 42616cb06..a79e921a6 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 20bd33aab..a17cfd543 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 ff03cc7c4..a5b0a2a04 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 183e284a9..59437c5b0 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 a4eb58b98..3b44ed0a2 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 e34b713f7..10a0fcf10 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 e478f3e2e..368d88457 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 331b8d47f..a9f8453d2 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 70a1ed39b..f06ef55d4 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 952aebfbb..ef01f1358 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 ea7ac8bf5..7f814c374 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 8cd3907a6..4a69fa6f7 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 bef235923..8b2d524b0 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 49878b4a1..151a65861 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 8733bdbd3..90f021afe 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 d30bf8926..07c72b823 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 bdcc90a1e..a7f93aa27 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 ad271d709..a8dd9e791 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 25ad0714e..f3db925b3 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 2f5f81891..7e6aac471 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 618926733..f18ef389a 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 95a173cd8..6af8f89a6 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 c0869f9a5..2a594be88 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 8e31a6b0c..93bc7246d 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 69bee9ac9..bb642b377 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 cdfb3ef4d..72b033eff 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 a2b4626aa..b931f35d8 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 850c64986..df267545e 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 cf42ae430..24ba30da3 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 b95f9042d..d167d674a 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 465281094..fee21d80c 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 91895f287..6e4810364 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 8c3d25dd2..a5d08b6a9 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 1526ed7af..ae3c8503d 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 1526ed7af..ae3c8503d 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 621f06033..145336517 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 05f1709da..a78cfd5d7 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 3e2e92429..ce8e42916 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 f85d2cc67..d91e8b08d 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 81b4c930b..4aaba7871 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 1237af206..0f975fded 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 81b4c930b..4aaba7871 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 e11a704c1..c111a18d5 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 17ab4adc9..1d1fc57fd 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 ce840b1ae..00f175443 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 19eef5e2f..249f71062 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 3ac9b7b43..682b7361d 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 3ac9b7b43..682b7361d 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 798f2b045..29cfe5da7 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 bf4193af5..cdea81b79 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 4d2409dd5..88c509637 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 e37661add..7493cb123 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 8594d7c91..a9b26cb26 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 96e749e19..3bb383b96 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 8594d7c91..a9b26cb26 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 7623dc1e4..7335ec157 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 f2d4ad5c2..cc72c3ee6 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 b42fb7582..43b0b6f5a 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 d8a72fefb..b5516f18e 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 338ce0938..6bf359568 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 9849f288c..be8192000 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 28e7b8855..7150f8a5d 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 9533a4299..f1e5a32de 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 5c87af6c1..0731f62c5 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 e9e91ecbf..2251f33af 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 1131d55c4..35b06bcb6 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 1a691e004..4a17f2bd7 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 482f14f29..d2a21b532 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 925d83123..7fc16a1da 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 0dc8c1fd6..d10094095 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 7bb7e77a8..4d6eefc63 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 75200def6..a962c40be 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 59965c5ac..1cc6ace08 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 3e84b0ddf..e176ccecb 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 d353e6155..6bb51c21e 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 42ec15cc1..5863a31c3 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 ce9c3ff6b..d5a25e659 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 ed90208e1..7a31ae5f9 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 90f02cbcd..a6a2dee73 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 663d4e663..26dadfc85 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 c2fb8a102..7cd0cab3f 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 153c24f13..601489e38 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 4e5d36c96..9abbedb80 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 0a77f1c15..32d947a23 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 86ee346e9..9e2666b4f 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 d670efe22..163c1272f 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 769f7b72e..920ebea1a 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 7ef6fd967..f6bd2edb3 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 cab5165af..c214e69af 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 bc416052f..7064e52e5 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 7fd48ba39..848986076 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 6675ee30c..33e0e0152 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 9c44a1e70..b0696e8a5 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 85d0a98b5..d6e131f15 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 be430cb36..062648965 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 17ee3fa26..a25728536 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 4e340c803..84348e4f7 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 4e340c803..84348e4f7 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 d42b6dd3e..2f5a2d250 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 3c536e79a..f8f18cf4c 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 b3c37a24c..af15b6a9c 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 ca772f3ff..febfa7bae 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 3611dba14..da4691efb 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 edf27308b..8247f57b5 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 edf27308b..8247f57b5 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 8beb184c2..c3e8dd6e5 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 a8b1dd075..0fca9ec8c 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 404e1f3d3..f7adb71b7 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 0789d514e..d6b7ff5e3 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 ffc00bff5..5dfcbaa62 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 8e4577b92..417bd619e 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 ffc00bff5..5dfcbaa62 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 b0467d63a..c62a69bd4 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 5a4506451..3989a2d1f 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 4926f508b..bdc4a90a6 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 ce0d5c260..a41ed504a 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 8e8734dc3..70a6e5cc3 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 40417f8b3..701fee7b6 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 2d69c2cf5..1aec7a6b2 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 923173f76..6cb4c9aa8 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 b6b799b2f..177fce256 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 665701e94..02029f721 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 0c62dc82f..3332eda03 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 31b4387bc..07caf9bb9 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 f5b3735be..16bb306ad 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 58072618a..148bfa601 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 198190db7..4e1c32054 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 480013937..29a72f292 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 707cae689..6396b8f7a 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 98ace1cbd..663386836 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 8ec6cc2b9..b77a2298c 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 d353e6155..6bb51c21e 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 5c4592ae8..093b4c83a 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 b4cd82c8e..7e8401e1f 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 ed90208e1..7a31ae5f9 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 9cfe3060d..6c33b267e 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 663d4e663..26dadfc85 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 a6c927d57..7bfb56a2c 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 d0911f336..f4c4bf45f 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 cca78d4de..3234aeacc 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 0b13e08b3..9ca894174 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 f66dfbeae..0f5d322ad 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 dbe33277d..830d934f9 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 059c90a82..242122149 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 38fbe5ad4..dc38b9c2d 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 cab5165af..c214e69af 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 7b412aee9..c4dff902f 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 7fd48ba39..848986076 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 bf86274ef..ef1db282c 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 fdd20e514..b98a789d1 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 85f2cc3bb..e04b35274 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 d2c596912..d8907ed2d 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 768884d10..d45bbce79 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 9fa3d95cd..35fe76f7c 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 9fa3d95cd..35fe76f7c 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 fa3d7c908..fd90b1443 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 b93fb4f4f..296bbbe01 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 a09bffe97..1c9113937 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 b2e0745ab..2f0103029 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 30753bf7f..24ffe160c 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 0a3c432fa..e45d91782 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 48c626930..76af694e4 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 af9968606..3b7d8e5fe 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 c19aa3dad..bf4249b58 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 3e0162c55..2b6a7c303 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 0c4f2124d..5c8c371df 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 36b646c83..723e60315 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 8368e5841..2bec59cc0 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 6c49fa4da..ed9aada92 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 911f7a6a2..c74abc91e 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 0dbe304d7..9e889e637 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 4fe0d40da..1f066e321 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 2a1f5bb24..63b52bce3 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 a105eece9..000199f5c 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 96ae532c9..9df8dde2d 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 d353e6155..6bb51c21e 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 e459424f6..a4291930d 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 9cfa86b87..ca812eaf1 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 ed90208e1..7a31ae5f9 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 03a7493d1..eb8065299 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 2023fc0d2..c2d8294ef 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 86ac8f615..fc4845278 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 f542968e3..3d57dac80 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 33c9be734..1adec4763 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 8c1ab68bf..786ef6d2a 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 6e316b6e9..21b62adb3 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 a2ad1fbfa..92a624a75 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 dbbe2c2f1..77b698185 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 dba785ab6..15b73e3f8 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 cab5165af..c214e69af 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 61ebf7ab8..955943697 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 7fd48ba39..848986076 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 04a2c3364..cc1b030a1 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 8b45d045d..bf24648a4 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 aac2c4459..a37093d27 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 0fc7ff11c..317738371 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 90493bc47..6e0b08fbe 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 acf358d9d..fb5eff057 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 acf358d9d..fb5eff057 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 dca20dadd..c5ccea3ff 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 97b131db2..a737a542b 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 de56c4fc8..da20bc0e6 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 f63b56b96..647477f8e 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 8b73cbc23..96d68c27a 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 c1a2d5666..326086aa8 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, }, },