diff --git a/codebuild_specs/e2e_workflow_generated.yml b/codebuild_specs/e2e_workflow_generated.yml index 924f8e8aa82..aca7bfdcd9f 100644 --- a/codebuild_specs/e2e_workflow_generated.yml +++ b/codebuild_specs/e2e_workflow_generated.yml @@ -145,7 +145,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/diagnose.test.ts|src/__tests__/hooks-a.test.ts|src/__tests__/mock-api.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js @@ -153,7 +153,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/analytics-kinesis.test.ts|src/__tests__/analytics-pinpoint-flutter.test.ts|src/__tests__/analytics-pinpoint-js.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_auth_2a_auth_2b_auth_2d @@ -161,7 +161,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_2a.test.ts|src/__tests__/auth_2b.test.ts|src/__tests__/auth_2d.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_auth_2f_notifications_lifecycle_notifications_analytics_compatibility_in_app_1 @@ -169,7 +169,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_2f.test.ts|src/__tests__/notifications-lifecycle.test.ts|src/__tests__/notifications-analytics-compatibility-in-app-1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_notifications_analytics_compatibility_sms_2_analytics_2_global_sandbox_c @@ -177,7 +177,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/notifications-analytics-compatibility-sms-2.test.ts|src/__tests__/analytics-2.test.ts|src/__tests__/global_sandbox-c.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_hooks_b_notifications_analytics_compatibility_sms_1_plugin @@ -185,7 +185,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/hooks-b.test.ts|src/__tests__/notifications-analytics-compatibility-sms-1.test.ts|src/__tests__/plugin.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_studio_modelgen_custom_transformers_notifications_in_app_messaging_env_1 @@ -193,7 +193,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/studio-modelgen.test.ts|src/__tests__/graphql-v2/custom-transformers.test.ts|src/__tests__/notifications-in-app-messaging-env-1.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_notifications_sms_pull_pull_auth_10 @@ -201,7 +201,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/notifications-sms-pull.test.ts|src/__tests__/pull.test.ts|src/__tests__/auth_10.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_container_hosting_init_b_notifications_apns @@ -209,7 +209,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/container-hosting.test.ts|src/__tests__/init_b.test.ts|src/__tests__/notifications-apns.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_notifications_fcm_notifications_in_app_messaging_env_2_with_babel_config @@ -217,7 +217,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/notifications-fcm.test.ts|src/__tests__/notifications-in-app-messaging-env-2.test.ts|src/__tests__/with-babel-config.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_amplify_configure_env_2_init_d @@ -225,7 +225,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/amplify-configure.test.ts|src/__tests__/env-2.test.ts|src/__tests__/init_d.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_init_f_auth_5d_configure_project @@ -233,7 +233,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/init_f.test.ts|src/__tests__/auth_5d.test.ts|src/__tests__/configure-project.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_git_clone_attach_init_c_layer_4 @@ -249,7 +249,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/function_2c.test.ts|src/__tests__/function_3b.test.ts|src/__tests__/function_4.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_interactions_schema_model_a_tags @@ -265,7 +265,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_1a.test.ts|src/__tests__/auth-trigger.test.ts|src/__tests__/custom_policies_function.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_function_6_storage_2_export @@ -273,7 +273,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/function_6.test.ts|src/__tests__/storage-2.test.ts|src/__tests__/export.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_iam_permissions_boundary_node_function_notifications_sms @@ -281,7 +281,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/iam-permissions-boundary.test.ts|src/__tests__/migration/node.function.test.ts|src/__tests__/notifications-sms.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_schema_auth_4b_schema_model_e_schema_versioned @@ -289,7 +289,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-4b.test.ts|src/__tests__/schema-model-e.test.ts|src/__tests__/schema-versioned.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_auth_1c_auth_5e_auth_8b @@ -297,7 +297,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_1c.test.ts|src/__tests__/auth_5e.test.ts|src/__tests__/auth_8b.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_geo_add_b_s3_sse_schema_auth_4a @@ -305,7 +305,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/geo-add-b.test.ts|src/__tests__/s3-sse.test.ts|src/__tests__/schema-auth-4a.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_schema_model_b_schema_model_d_auth_5f @@ -313,7 +313,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-model-b.test.ts|src/__tests__/schema-model-d.test.ts|src/__tests__/auth_5f.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_env_4_frontend_config_drift_schema_auth_4d @@ -321,7 +321,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/env-4.test.ts|src/__tests__/frontend_config_drift.test.ts|src/__tests__/schema-auth-4d.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_schema_auth_6a_schema_data_access_patterns_schema_model_c @@ -329,7 +329,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-6a.test.ts|src/__tests__/schema-data-access-patterns.test.ts|src/__tests__/schema-model-c.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_schema_predictions_model_migration_auth_3c @@ -345,7 +345,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_4c.test.ts|src/__tests__/auth_5a.test.ts|src/__tests__/auth_5c.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_env_1_geo_add_a_init_a @@ -353,7 +353,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/env-1.test.ts|src/__tests__/geo-add-a.test.ts|src/__tests__/init_a.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_schema_auth_4c_schema_auth_5c_auth_5b @@ -361,7 +361,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-4c.test.ts|src/__tests__/schema-auth-5c.test.ts|src/__tests__/auth_5b.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_auth_9_custom_resources_env_5 @@ -369,7 +369,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_9.test.ts|src/__tests__/custom_resources.test.ts|src/__tests__/env-5.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_function_10_function_9c_function_permissions @@ -385,7 +385,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/geo-import-1a.test.ts|src/__tests__/geo-import-2.test.ts|src/__tests__/global_sandbox-b.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_schema_auth_5d_schema_auth_6b_schema_auth_8c @@ -393,7 +393,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-5d.test.ts|src/__tests__/schema-auth-6b.test.ts|src/__tests__/schema-auth-8c.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_auth_3a_auth_3b_auth_4a @@ -417,7 +417,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/geo-import-1b.test.ts|src/__tests__/global_sandbox-a.test.ts|src/__tests__/init_e.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_notifications_analytics_compatibility_in_app_2_schema_auth_11_c_schema_auth_2b @@ -425,7 +425,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/notifications-analytics-compatibility-in-app-2.test.ts|src/__tests__/schema-auth-11-c.test.ts|src/__tests__/schema-auth-2b.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_schema_auth_6c_schema_auth_6d_schema_auth_7c @@ -433,7 +433,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-6c.test.ts|src/__tests__/schema-auth-6d.test.ts|src/__tests__/schema-auth-7c.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_schema_auth_8a_function_migration_api_10 @@ -449,7 +449,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/api_7.test.ts|src/__tests__/export-pull-a.test.ts|src/__tests__/function_9a.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_geo_headless_api_key_migration5_schema_auth_1a @@ -457,7 +457,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/geo-headless.test.ts|src/__tests__/migration/api.key.migration5.test.ts|src/__tests__/schema-auth-1a.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_schema_auth_5b_schema_auth_8b_schema_auth_9_a @@ -465,7 +465,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-5b.test.ts|src/__tests__/schema-auth-8b.test.ts|src/__tests__/schema-auth-9-a.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_schema_auth_9_c_storage_3_auth_11 @@ -473,7 +473,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-9-c.test.ts|src/__tests__/storage-3.test.ts|src/__tests__/auth_11.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_auth_1b_delete_geo_add_c @@ -489,7 +489,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/geo-add-d.test.ts|src/__tests__/geo-import-3.test.ts|src/__tests__/hosting.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_layer_3_api_connection_migration_api_key_migration3 @@ -497,7 +497,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/layer-3.test.ts|src/__tests__/migration/api.connection.migration.test.ts|src/__tests__/migration/api.key.migration3.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_predictions_schema_auth_11_b_schema_auth_1b @@ -505,7 +505,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/predictions.test.ts|src/__tests__/schema-auth-11-b.test.ts|src/__tests__/schema-auth-1b.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_schema_auth_2a_schema_auth_7a_schema_auth_7b @@ -521,7 +521,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-9-b.test.ts|src/__tests__/schema-iterative-rollback-1.test.ts|src/__tests__/transformer-migrations/predictions-migration.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_api_6a_auth_7b_export_pull_b @@ -529,7 +529,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/api_6a.test.ts|src/__tests__/auth_7b.test.ts|src/__tests__/export-pull-b.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_function_3a_init_special_case_http_migration @@ -537,7 +537,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/function_3a.test.ts|src/__tests__/init-special-case.test.ts|src/__tests__/transformer-migrations/http-migration.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_schema_auth_12_schema_auth_3_schema_function_2 @@ -545,7 +545,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-12.test.ts|src/__tests__/schema-auth-3.test.ts|src/__tests__/schema-function-2.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_auth_4b_auth_8a_export_pull_d @@ -553,7 +553,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_4b.test.ts|src/__tests__/auth_8a.test.ts|src/__tests__/export-pull-d.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_schema_auth_5a_schema_iterative_rollback_2_schema_iterative_update_3 @@ -561,7 +561,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-5a.test.ts|src/__tests__/schema-iterative-rollback-2.test.ts|src/__tests__/schema-iterative-update-3.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_auth_migration_amplify_remove_api_2a @@ -577,239 +577,248 @@ batch: env: variables: TEST_SUITE: src/__tests__/api_2b.test.ts|src/__tests__/api_6c.test.ts|src/__tests__/api_9a.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_api_express_function_auth_12_auth_2g + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/api-express-function.test.ts|src/__tests__/auth_12.test.ts|src/__tests__/auth_2g.test.ts + CLI_REGION: ap-southeast-1 depend-on: - upb - - identifier: l_auth_12_auth_2g_auth_2h + - identifier: l_auth_2h_auth_5g_hosted_ui buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/auth_12.test.ts|src/__tests__/auth_2g.test.ts|src/__tests__/auth_2h.test.ts + TEST_SUITE: src/__tests__/auth_2h.test.ts|src/__tests__/auth_5g.test.ts|src/__tests__/auth/hosted-ui.test.ts CLI_REGION: us-east-2 depend-on: - upb - - identifier: l_auth_5g_hosted_ui_user_groups_s3_access + - identifier: l_user_groups_s3_access_user_groups_build_function buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/auth_5g.test.ts|src/__tests__/auth/hosted-ui.test.ts|src/__tests__/auth/user-groups-s3-access.test.ts - CLI_REGION: eu-central-1 + TEST_SUITE: src/__tests__/auth/user-groups-s3-access.test.ts|src/__tests__/auth/user-groups.test.ts|src/__tests__/build-function.test.ts + CLI_REGION: eu-west-2 depend-on: - upb - - identifier: l_user_groups_build_function_custom_resource_with_storage + - identifier: l_custom_resource_with_storage_dynamodb_simulator_export_pull_c buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/auth/user-groups.test.ts|src/__tests__/build-function.test.ts|src/__tests__/custom-resource-with-storage.test.ts + TEST_SUITE: src/__tests__/custom-resource-with-storage.test.ts|src/__tests__/dynamodb-simulator/dynamodb-simulator.test.ts|src/__tests__/export-pull-c.test.ts CLI_REGION: us-west-2 depend-on: - upb - - identifier: l_dynamodb_simulator_export_pull_c_function_12 + - identifier: l_function_12_function_13_function_14 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/dynamodb-simulator/dynamodb-simulator.test.ts|src/__tests__/export-pull-c.test.ts|src/__tests__/function_12.test.ts - CLI_REGION: us-east-1 + TEST_SUITE: src/__tests__/function_12.test.ts|src/__tests__/function_13.test.ts|src/__tests__/function_14.test.ts + CLI_REGION: eu-west-2 depend-on: - upb - - identifier: l_function_13_function_14_function_15 + - identifier: l_function_15_function_2d_general_config_headless_init buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/function_13.test.ts|src/__tests__/function_14.test.ts|src/__tests__/function_15.test.ts - CLI_REGION: ap-northeast-1 + TEST_SUITE: src/__tests__/function_15.test.ts|src/__tests__/function_2d.test.ts|src/__tests__/general-config/general-config-headless-init.test.ts + CLI_REGION: ap-southeast-2 depend-on: - upb - - identifier: l_function_2d_general_config_headless_init_help + - identifier: l_help_hooks_c_init_force_push buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/function_2d.test.ts|src/__tests__/general-config/general-config-headless-init.test.ts|src/__tests__/help.test.ts - CLI_REGION: us-east-2 + TEST_SUITE: src/__tests__/help.test.ts|src/__tests__/hooks-c.test.ts|src/__tests__/init-force-push.test.ts + CLI_REGION: eu-central-1 depend-on: - upb - - identifier: l_hooks_c_init_force_push_interactions_1 + - identifier: l_interactions_1_interactions_2_minify_cloudformation buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/hooks-c.test.ts|src/__tests__/init-force-push.test.ts|src/__tests__/interactions-1.test.ts + TEST_SUITE: src/__tests__/interactions-1.test.ts|src/__tests__/interactions-2.test.ts|src/__tests__/minify-cloudformation.test.ts CLI_REGION: us-west-2 depend-on: - upb - - identifier: l_interactions_2_minify_cloudformation_notifications_multi_env + - identifier: l_notifications_multi_env_notifications_sms_update_opensearch_simulator buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/interactions-2.test.ts|src/__tests__/minify-cloudformation.test.ts|src/__tests__/notifications-multi-env.test.ts - CLI_REGION: us-west-2 + TEST_SUITE: src/__tests__/notifications-multi-env.test.ts|src/__tests__/notifications-sms-update.test.ts|src/__tests__/opensearch-simulator/opensearch-simulator.test.ts + CLI_REGION: eu-central-1 depend-on: - upb - - identifier: l_notifications_sms_update_opensearch_simulator_parameter_store_1 + - identifier: l_parameter_store_1_parameter_store_2_android_analytics_pinpoint_config buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/notifications-sms-update.test.ts|src/__tests__/opensearch-simulator/opensearch-simulator.test.ts|src/__tests__/parameter-store-1.test.ts + TEST_SUITE: src/__tests__/parameter-store-1.test.ts|src/__tests__/parameter-store-2.test.ts|src/__tests__/pinpoint/android-analytics-pinpoint-config.test.ts CLI_REGION: us-west-2 depend-on: - upb - - identifier: l_parameter_store_2_android_analytics_pinpoint_config_android_notifications_pinpoint_config + - identifier: l_android_notifications_pinpoint_config_flutter_analytics_pinpoint_config_flutter_notifications_pinpoint_config buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/parameter-store-2.test.ts|src/__tests__/pinpoint/android-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/android-notifications-pinpoint-config.test.ts - CLI_REGION: us-west-2 + TEST_SUITE: src/__tests__/pinpoint/android-notifications-pinpoint-config.test.ts|src/__tests__/pinpoint/flutter-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/flutter-notifications-pinpoint-config.test.ts + CLI_REGION: us-east-1 depend-on: - upb - - identifier: l_flutter_analytics_pinpoint_config_flutter_notifications_pinpoint_config_ios_analytics_pinpoint_config + - identifier: l_ios_analytics_pinpoint_config_ios_notifications_pinpoint_config_javascript_analytics_pinpoint_config buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/pinpoint/flutter-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/flutter-notifications-pinpoint-config.test.ts|src/__tests__/pinpoint/ios-analytics-pinpoint-config.test.ts + TEST_SUITE: src/__tests__/pinpoint/ios-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/ios-notifications-pinpoint-config.test.ts|src/__tests__/pinpoint/javascript-analytics-pinpoint-config.test.ts CLI_REGION: ap-southeast-2 depend-on: - upb - - identifier: l_ios_notifications_pinpoint_config_javascript_analytics_pinpoint_config_javascript_notifications_pinpoint_config + - identifier: l_javascript_notifications_pinpoint_config_pr_previews_multi_env_1_pull_2 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/pinpoint/ios-notifications-pinpoint-config.test.ts|src/__tests__/pinpoint/javascript-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/javascript-notifications-pinpoint-config.test.ts - CLI_REGION: ap-northeast-1 + TEST_SUITE: src/__tests__/pinpoint/javascript-notifications-pinpoint-config.test.ts|src/__tests__/pr-previews-multi-env-1.test.ts|src/__tests__/pull-2.test.ts + CLI_REGION: us-east-1 depend-on: - upb - - identifier: l_pr_previews_multi_env_1_pull_2_push + - identifier: l_push_smoketest_ios_smoketest buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/pr-previews-multi-env-1.test.ts|src/__tests__/pull-2.test.ts|src/__tests__/push.test.ts - CLI_REGION: eu-central-1 + TEST_SUITE: src/__tests__/push.test.ts|src/__tests__/smoke-tests/smoketest-ios.test.ts|src/__tests__/smoke-tests/smoketest.test.ts + CLI_REGION: eu-west-2 depend-on: - upb - - identifier: l_smoketest_ios_smoketest_S3server + - identifier: l_S3server_api_8_function_8 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/smoke-tests/smoketest-ios.test.ts|src/__tests__/smoke-tests/smoketest.test.ts|src/__tests__/storage-simulator/S3server.test.ts - CLI_REGION: us-east-2 + TEST_SUITE: src/__tests__/storage-simulator/S3server.test.ts|src/__tests__/api_8.test.ts|src/__tests__/function_8.test.ts + CLI_REGION: ap-southeast-2 depend-on: - upb - - identifier: l_api_8_function_8_schema_iterative_update_locking + - identifier: l_schema_iterative_update_locking_api_lambda_auth_2_layer_2 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/api_8.test.ts|src/__tests__/function_8.test.ts|src/__tests__/schema-iterative-update-locking.test.ts - CLI_REGION: eu-west-2 + TEST_SUITE: src/__tests__/schema-iterative-update-locking.test.ts|src/__tests__/graphql-v2/api_lambda_auth_2.test.ts|src/__tests__/layer-2.test.ts + CLI_REGION: ap-southeast-1 depend-on: - upb - - identifier: l_api_lambda_auth_2_layer_2_schema_auth_13 + - identifier: l_schema_auth_13_function_5_schema_iterative_update_1 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/graphql-v2/api_lambda_auth_2.test.ts|src/__tests__/layer-2.test.ts|src/__tests__/schema-auth-13.test.ts - CLI_REGION: eu-central-1 + TEST_SUITE: src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts + CLI_REGION: us-west-2 depend-on: - upb - - identifier: l_function_5_schema_iterative_update_1_auth_6 + - identifier: l_auth_6_function_2a_schema_connection_2 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts|src/__tests__/auth_6.test.ts - CLI_REGION: ap-southeast-2 + TEST_SUITE: src/__tests__/auth_6.test.ts|src/__tests__/function_2a.test.ts|src/__tests__/schema-connection-2.test.ts + CLI_REGION: us-east-1 depend-on: - upb - - identifier: l_function_2a_schema_connection_2_schema_function_1 + - identifier: l_schema_function_1_api_9b_custom_policies_container buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/function_2a.test.ts|src/__tests__/schema-connection-2.test.ts|src/__tests__/schema-function-1.test.ts - CLI_REGION: eu-central-1 + TEST_SUITE: src/__tests__/schema-function-1.test.ts|src/__tests__/api_9b.test.ts|src/__tests__/custom_policies_container.test.ts + CLI_REGION: ap-northeast-1 depend-on: - upb - - identifier: l_api_9b_custom_policies_container_function_9b + - identifier: l_function_9b_schema_iterative_update_2_storage_1a buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/api_9b.test.ts|src/__tests__/custom_policies_container.test.ts|src/__tests__/function_9b.test.ts - CLI_REGION: ap-southeast-1 + TEST_SUITE: src/__tests__/function_9b.test.ts|src/__tests__/schema-iterative-update-2.test.ts|src/__tests__/storage-1a.test.ts + CLI_REGION: eu-central-1 depend-on: - upb - - identifier: l_schema_iterative_update_2_storage_1a_storage_1b + - identifier: l_storage_1b_function_11_function_2b buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/schema-iterative-update-2.test.ts|src/__tests__/storage-1a.test.ts|src/__tests__/storage-1b.test.ts - CLI_REGION: ap-southeast-1 + TEST_SUITE: src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts + CLI_REGION: eu-west-2 depend-on: - upb - - identifier: l_function_11_function_2b_function_7 + - identifier: l_function_7_api_connection_migration2_api_4 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts|src/__tests__/function_7.test.ts - CLI_REGION: us-east-1 + TEST_SUITE: src/__tests__/function_7.test.ts|src/__tests__/migration/api.connection.migration2.test.ts|src/__tests__/api_4.test.ts + CLI_REGION: ap-southeast-1 depend-on: - upb - - identifier: l_api_connection_migration2_api_4_containers_api_secrets + - identifier: l_containers_api_secrets_storage_4_schema_auth_10 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/migration/api.connection.migration2.test.ts|src/__tests__/api_4.test.ts|src/__tests__/containers-api-secrets.test.ts - CLI_REGION: us-west-2 + TEST_SUITE: src/__tests__/containers-api-secrets.test.ts|src/__tests__/storage-4.test.ts|src/__tests__/schema-auth-10.test.ts + CLI_REGION: ap-southeast-1 depend-on: - upb - - identifier: l_storage_4_schema_auth_10_geo_multi_env + - identifier: l_geo_multi_env_searchable_datastore_resolvers buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/storage-4.test.ts|src/__tests__/schema-auth-10.test.ts|src/__tests__/geo-multi-env.test.ts - CLI_REGION: us-west-2 + TEST_SUITE: src/__tests__/geo-multi-env.test.ts|src/__tests__/graphql-v2/searchable-datastore.test.ts|src/__tests__/resolvers.test.ts + CLI_REGION: us-east-2 depend-on: - upb - - identifier: l_searchable_datastore_resolvers_schema_key + - identifier: l_schema_key_api_5_apigw buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/graphql-v2/searchable-datastore.test.ts|src/__tests__/resolvers.test.ts|src/__tests__/schema-key.test.ts - CLI_REGION: us-east-1 + TEST_SUITE: src/__tests__/schema-key.test.ts|src/__tests__/api_5.test.ts|src/__tests__/apigw.test.ts + CLI_REGION: ap-southeast-1 depend-on: - upb - - identifier: l_api_5_apigw_api_lambda_auth_1 + - identifier: l_api_lambda_auth_1_api_key_migration2_schema_searchable buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/api_5.test.ts|src/__tests__/apigw.test.ts|src/__tests__/graphql-v2/api_lambda_auth_1.test.ts - CLI_REGION: us-east-1 + TEST_SUITE: src/__tests__/graphql-v2/api_lambda_auth_1.test.ts|src/__tests__/migration/api.key.migration2.test.ts|src/__tests__/schema-searchable.test.ts + CLI_REGION: ap-southeast-1 depend-on: - upb - - identifier: l_api_key_migration2_schema_searchable_api_key_migration1 + - identifier: l_api_key_migration1_schema_auth_14_api_3 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/migration/api.key.migration2.test.ts|src/__tests__/schema-searchable.test.ts|src/__tests__/migration/api.key.migration1.test.ts - CLI_REGION: ap-northeast-1 + TEST_SUITE: src/__tests__/migration/api.key.migration1.test.ts|src/__tests__/schema-auth-14.test.ts|src/__tests__/api_3.test.ts + CLI_REGION: us-east-2 depend-on: - upb - - identifier: l_schema_auth_14_api_3_api_6b + - identifier: l_api_6b_api_1_layer_1 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/schema-auth-14.test.ts|src/__tests__/api_3.test.ts|src/__tests__/api_6b.test.ts - CLI_REGION: us-east-2 + TEST_SUITE: src/__tests__/api_6b.test.ts|src/__tests__/api_1.test.ts|src/__tests__/layer-1.test.ts + CLI_REGION: eu-central-1 depend-on: - upb - - identifier: l_api_1_layer_1_api_key_migration4 + - identifier: l_api_key_migration4_schema_iterative_update_4_function_1 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/api_1.test.ts|src/__tests__/layer-1.test.ts|src/__tests__/migration/api.key.migration4.test.ts - CLI_REGION: ap-southeast-1 + TEST_SUITE: src/__tests__/migration/api.key.migration4.test.ts|src/__tests__/schema-iterative-update-4.test.ts|src/__tests__/function_1.test.ts + CLI_REGION: ap-northeast-1 depend-on: - upb - - identifier: l_schema_iterative_update_4_function_1_storage_5 + - identifier: l_storage_5 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/schema-iterative-update-4.test.ts|src/__tests__/function_1.test.ts|src/__tests__/storage-5.test.ts - CLI_REGION: us-east-1 + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/storage-5.test.ts + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_datastore_modelgen @@ -818,7 +827,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/datastore-modelgen.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-central-1 DISABLE_COVERAGE: 1 depend-on: - upb @@ -828,7 +837,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/amplify-app.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-northeast-1 DISABLE_COVERAGE: 1 depend-on: - upb @@ -838,7 +847,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/auth_2c.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_auth_2e @@ -847,7 +856,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/auth_2e.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_uibuilder @@ -856,7 +865,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/uibuilder.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_geo_remove_3 @@ -865,7 +874,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-remove-3.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_geo_add_f @@ -874,7 +883,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-add-f.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_geo_add_e @@ -883,7 +892,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-add-e.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_import_dynamodb_2c @@ -892,7 +901,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_2c.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_env_3 @@ -901,7 +910,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/env-3.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_geo_remove_2 @@ -910,7 +919,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-remove-2.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_notifications_in_app_messaging @@ -919,7 +928,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_import_auth_2a @@ -937,7 +946,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_1a.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_import_auth_2b @@ -946,7 +955,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_2b.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_import_s3_2a @@ -955,7 +964,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_2a.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_import_s3_2c @@ -964,7 +973,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_2c.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_import_auth_1b @@ -973,7 +982,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_1b.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_schema_auth_11_a @@ -982,7 +991,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/schema-auth-11-a.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_geo_update_1 @@ -1000,7 +1009,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-update-2.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_import_s3_3 @@ -1009,7 +1018,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_3.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_import_dynamodb_2b @@ -1018,7 +1027,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_2b.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_hostingPROD @@ -1027,7 +1036,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/hostingPROD.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_import_s3_2b @@ -1036,7 +1045,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_2b.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_containers_api_1 @@ -1054,7 +1063,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/schema-auth-15.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_schema_connection_1 @@ -1072,7 +1081,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_3.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_import_dynamodb_2a @@ -1081,7 +1090,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_2a.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_containers_api_2 @@ -1090,7 +1099,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/containers-api-2.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_import_s3_1 @@ -1099,7 +1108,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_1.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-west-2 USE_PARENT_ACCOUNT: 1 depend-on: - upb @@ -1109,7 +1118,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/transformer-migrations/searchable-migration.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-2 USE_PARENT_ACCOUNT: 1 depend-on: - upb @@ -1119,7 +1128,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-remove-1.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_import_dynamodb_1 @@ -1128,7 +1137,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_1.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 USE_PARENT_ACCOUNT: 1 depend-on: - upb @@ -1139,7 +1148,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/analytics-kinesis.test.ts|src/__tests__/analytics-pinpoint-flutter.test.ts|src/__tests__/analytics-pinpoint-js.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1150,7 +1159,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_2a.test.ts|src/__tests__/auth_2b.test.ts|src/__tests__/auth_2d.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1161,7 +1170,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_2f.test.ts|src/__tests__/notifications-lifecycle.test.ts|src/__tests__/notifications-analytics-compatibility-in-app-1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1172,7 +1181,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/notifications-analytics-compatibility-sms-2.test.ts|src/__tests__/analytics-2.test.ts|src/__tests__/global_sandbox-c.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1183,7 +1192,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/hooks-b.test.ts|src/__tests__/notifications-analytics-compatibility-sms-1.test.ts|src/__tests__/plugin.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1194,7 +1203,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/studio-modelgen.test.ts|src/__tests__/graphql-v2/custom-transformers.test.ts|src/__tests__/notifications-in-app-messaging-env-1.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1205,7 +1214,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/notifications-sms-pull.test.ts|src/__tests__/auth_10.test.ts|src/__tests__/container-hosting.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1216,7 +1225,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/init_b.test.ts|src/__tests__/notifications-apns.test.ts|src/__tests__/notifications-fcm.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1227,7 +1236,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/notifications-in-app-messaging-env-2.test.ts|src/__tests__/with-babel-config.test.ts|src/__tests__/amplify-configure.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1238,7 +1247,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/init_d.test.ts|src/__tests__/init_f.test.ts|src/__tests__/auth_5d.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1249,7 +1258,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/configure-project.test.ts|src/__tests__/init_c.test.ts|src/__tests__/layer-4.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1282,7 +1291,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/custom_policies_function.test.ts|src/__tests__/storage-2.test.ts|src/__tests__/iam-permissions-boundary.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1293,7 +1302,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/migration/node.function.test.ts|src/__tests__/notifications-sms.test.ts|src/__tests__/schema-auth-4b.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1304,7 +1313,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-model-e.test.ts|src/__tests__/schema-versioned.test.ts|src/__tests__/auth_1c.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1326,7 +1335,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/s3-sse.test.ts|src/__tests__/schema-auth-4a.test.ts|src/__tests__/schema-model-b.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1337,7 +1346,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-model-d.test.ts|src/__tests__/auth_5f.test.ts|src/__tests__/env-4.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1348,7 +1357,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/frontend_config_drift.test.ts|src/__tests__/schema-auth-4d.test.ts|src/__tests__/schema-auth-6a.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1359,7 +1368,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-data-access-patterns.test.ts|src/__tests__/schema-model-c.test.ts|src/__tests__/schema-predictions.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1370,7 +1379,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/transformer-migrations/model-migration.test.ts|src/__tests__/auth_3c.test.ts|src/__tests__/auth_4c.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1381,7 +1390,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_5a.test.ts|src/__tests__/auth_5c.test.ts|src/__tests__/env-1.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1392,7 +1401,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/geo-add-a.test.ts|src/__tests__/init_a.test.ts|src/__tests__/schema-auth-4c.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1414,7 +1423,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/env-5.test.ts|src/__tests__/function_10.test.ts|src/__tests__/function_9c.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1425,7 +1434,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/function-permissions.test.ts|src/__tests__/geo-import-1a.test.ts|src/__tests__/geo-import-2.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1436,7 +1445,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/global_sandbox-b.test.ts|src/__tests__/schema-auth-5d.test.ts|src/__tests__/schema-auth-6b.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1447,7 +1456,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-8c.test.ts|src/__tests__/auth_3a.test.ts|src/__tests__/auth_3b.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1458,7 +1467,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_4a.test.ts|src/__tests__/auth_7a.test.ts|src/__tests__/auth_8c.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1469,7 +1478,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/feature-flags.test.ts|src/__tests__/geo-import-1b.test.ts|src/__tests__/global_sandbox-a.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1480,7 +1489,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/init_e.test.ts|src/__tests__/notifications-analytics-compatibility-in-app-2.test.ts|src/__tests__/schema-auth-11-c.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1502,7 +1511,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-7c.test.ts|src/__tests__/schema-auth-8a.test.ts|src/__tests__/transformer-migrations/function-migration.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1513,7 +1522,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/api_10.test.ts|src/__tests__/api_7.test.ts|src/__tests__/export-pull-a.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1524,7 +1533,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/function_9a.test.ts|src/__tests__/geo-headless.test.ts|src/__tests__/migration/api.key.migration5.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1546,7 +1555,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-9-a.test.ts|src/__tests__/schema-auth-9-c.test.ts|src/__tests__/storage-3.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1557,7 +1566,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_11.test.ts|src/__tests__/auth_1b.test.ts|src/__tests__/delete.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1568,7 +1577,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/geo-add-c.test.ts|src/__tests__/geo-add-d.test.ts|src/__tests__/geo-import-3.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1579,7 +1588,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/hosting.test.ts|src/__tests__/layer-3.test.ts|src/__tests__/migration/api.connection.migration.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1590,7 +1599,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/migration/api.key.migration3.test.ts|src/__tests__/predictions.test.ts|src/__tests__/schema-auth-11-b.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1601,7 +1610,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-1b.test.ts|src/__tests__/schema-auth-2a.test.ts|src/__tests__/schema-auth-7a.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1612,7 +1621,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-7b.test.ts|src/__tests__/schema-auth-9-b.test.ts|src/__tests__/transformer-migrations/predictions-migration.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1623,7 +1632,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/api_6a.test.ts|src/__tests__/auth_7b.test.ts|src/__tests__/export-pull-b.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1634,7 +1643,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/init-special-case.test.ts|src/__tests__/transformer-migrations/http-migration.test.ts|src/__tests__/schema-auth-12.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1656,7 +1665,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_8a.test.ts|src/__tests__/export-pull-d.test.ts|src/__tests__/schema-auth-5a.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1667,7 +1676,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-iterative-update-3.test.ts|src/__tests__/transformer-migrations/auth-migration.test.ts|src/__tests__/amplify-remove.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1682,256 +1691,256 @@ batch: depend-on: - build_windows - upb - - identifier: w_api_9a_auth_2h_auth_5g + - identifier: w_api_9a_api_express_function_auth_2h buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/api_9a.test.ts|src/__tests__/auth_2h.test.ts|src/__tests__/auth_5g.test.ts - CLI_REGION: us-west-2 + TEST_SUITE: src/__tests__/api_9a.test.ts|src/__tests__/api-express-function.test.ts|src/__tests__/auth_2h.test.ts + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb - - identifier: w_hosted_ui_user_groups_s3_access_user_groups + - identifier: w_auth_5g_hosted_ui_user_groups_s3_access buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/auth/hosted-ui.test.ts|src/__tests__/auth/user-groups-s3-access.test.ts|src/__tests__/auth/user-groups.test.ts - CLI_REGION: us-east-1 + TEST_SUITE: src/__tests__/auth_5g.test.ts|src/__tests__/auth/hosted-ui.test.ts|src/__tests__/auth/user-groups-s3-access.test.ts + CLI_REGION: eu-central-1 depend-on: - build_windows - upb - - identifier: w_build_function_dynamodb_simulator_export_pull_c + - identifier: w_user_groups_build_function_dynamodb_simulator buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/build-function.test.ts|src/__tests__/dynamodb-simulator/dynamodb-simulator.test.ts|src/__tests__/export-pull-c.test.ts - CLI_REGION: eu-west-2 + TEST_SUITE: src/__tests__/auth/user-groups.test.ts|src/__tests__/build-function.test.ts|src/__tests__/dynamodb-simulator/dynamodb-simulator.test.ts + CLI_REGION: eu-central-1 depend-on: - build_windows - upb - - identifier: w_function_12_function_13_function_14 + - identifier: w_export_pull_c_function_12_function_13 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/function_12.test.ts|src/__tests__/function_13.test.ts|src/__tests__/function_14.test.ts - CLI_REGION: eu-west-2 + TEST_SUITE: src/__tests__/export-pull-c.test.ts|src/__tests__/function_12.test.ts|src/__tests__/function_13.test.ts + CLI_REGION: eu-central-1 depend-on: - build_windows - upb - - identifier: w_function_2d_general_config_headless_init_help + - identifier: w_function_14_function_2d_general_config_headless_init buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/function_2d.test.ts|src/__tests__/general-config/general-config-headless-init.test.ts|src/__tests__/help.test.ts + TEST_SUITE: src/__tests__/function_14.test.ts|src/__tests__/function_2d.test.ts|src/__tests__/general-config/general-config-headless-init.test.ts CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb - - identifier: w_init_force_push_interactions_1_interactions_2 + - identifier: w_help_init_force_push_interactions_1 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/init-force-push.test.ts|src/__tests__/interactions-1.test.ts|src/__tests__/interactions-2.test.ts + TEST_SUITE: src/__tests__/help.test.ts|src/__tests__/init-force-push.test.ts|src/__tests__/interactions-1.test.ts CLI_REGION: us-west-2 depend-on: - build_windows - upb - - identifier: w_minify_cloudformation_notifications_multi_env_notifications_sms_update + - identifier: w_interactions_2_minify_cloudformation_notifications_multi_env buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/minify-cloudformation.test.ts|src/__tests__/notifications-multi-env.test.ts|src/__tests__/notifications-sms-update.test.ts - CLI_REGION: ap-southeast-2 + TEST_SUITE: src/__tests__/interactions-2.test.ts|src/__tests__/minify-cloudformation.test.ts|src/__tests__/notifications-multi-env.test.ts + CLI_REGION: us-west-2 depend-on: - build_windows - upb - - identifier: w_parameter_store_1_parameter_store_2_push + - identifier: w_notifications_sms_update_parameter_store_1_parameter_store_2 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/parameter-store-1.test.ts|src/__tests__/parameter-store-2.test.ts|src/__tests__/push.test.ts + TEST_SUITE: src/__tests__/notifications-sms-update.test.ts|src/__tests__/parameter-store-1.test.ts|src/__tests__/parameter-store-2.test.ts CLI_REGION: us-east-1 depend-on: - build_windows - upb - - identifier: w_smoketest_ios_smoketest_api_8 + - identifier: w_push_smoketest_ios_smoketest buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/smoke-tests/smoketest-ios.test.ts|src/__tests__/smoke-tests/smoketest.test.ts|src/__tests__/api_8.test.ts - CLI_REGION: eu-central-1 + TEST_SUITE: src/__tests__/push.test.ts|src/__tests__/smoke-tests/smoketest-ios.test.ts|src/__tests__/smoke-tests/smoketest.test.ts + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb - - identifier: w_schema_iterative_update_locking_api_lambda_auth_2_schema_auth_13 + - identifier: w_api_8_schema_iterative_update_locking_api_lambda_auth_2 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/schema-iterative-update-locking.test.ts|src/__tests__/graphql-v2/api_lambda_auth_2.test.ts|src/__tests__/schema-auth-13.test.ts - CLI_REGION: eu-central-1 + TEST_SUITE: src/__tests__/api_8.test.ts|src/__tests__/schema-iterative-update-locking.test.ts|src/__tests__/graphql-v2/api_lambda_auth_2.test.ts + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb - - identifier: w_function_5_schema_iterative_update_1_auth_6 + - identifier: w_schema_auth_13_function_5_schema_iterative_update_1 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts|src/__tests__/auth_6.test.ts - CLI_REGION: eu-west-2 + TEST_SUITE: src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts + CLI_REGION: eu-central-1 depend-on: - build_windows - upb - - identifier: w_function_2a_schema_connection_2_schema_function_1 + - identifier: w_auth_6_function_2a_schema_connection_2 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/function_2a.test.ts|src/__tests__/schema-connection-2.test.ts|src/__tests__/schema-function-1.test.ts - CLI_REGION: eu-central-1 + TEST_SUITE: src/__tests__/auth_6.test.ts|src/__tests__/function_2a.test.ts|src/__tests__/schema-connection-2.test.ts + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb - - identifier: w_api_9b_custom_policies_container_function_9b + - identifier: w_schema_function_1_api_9b_custom_policies_container buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/api_9b.test.ts|src/__tests__/custom_policies_container.test.ts|src/__tests__/function_9b.test.ts - CLI_REGION: us-east-1 + TEST_SUITE: src/__tests__/schema-function-1.test.ts|src/__tests__/api_9b.test.ts|src/__tests__/custom_policies_container.test.ts + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb - - identifier: w_schema_iterative_update_2_storage_1a_storage_1b + - identifier: w_function_9b_schema_iterative_update_2_storage_1a buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/schema-iterative-update-2.test.ts|src/__tests__/storage-1a.test.ts|src/__tests__/storage-1b.test.ts - CLI_REGION: eu-west-2 + TEST_SUITE: src/__tests__/function_9b.test.ts|src/__tests__/schema-iterative-update-2.test.ts|src/__tests__/storage-1a.test.ts + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb - - identifier: w_function_11_function_2b_api_connection_migration2 + - identifier: w_storage_1b_function_11_function_2b buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts|src/__tests__/migration/api.connection.migration2.test.ts - CLI_REGION: us-east-2 + TEST_SUITE: src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb - - identifier: w_api_4_containers_api_secrets_storage_4 + - identifier: w_api_connection_migration2_api_4_containers_api_secrets buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/api_4.test.ts|src/__tests__/containers-api-secrets.test.ts|src/__tests__/storage-4.test.ts - CLI_REGION: eu-central-1 + TEST_SUITE: src/__tests__/migration/api.connection.migration2.test.ts|src/__tests__/api_4.test.ts|src/__tests__/containers-api-secrets.test.ts + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb - - identifier: w_schema_auth_10_geo_multi_env_searchable_datastore + - identifier: w_storage_4_schema_auth_10_geo_multi_env buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/schema-auth-10.test.ts|src/__tests__/geo-multi-env.test.ts|src/__tests__/graphql-v2/searchable-datastore.test.ts - CLI_REGION: us-west-2 + TEST_SUITE: src/__tests__/storage-4.test.ts|src/__tests__/schema-auth-10.test.ts|src/__tests__/geo-multi-env.test.ts + CLI_REGION: eu-west-2 depend-on: - build_windows - upb - - identifier: w_resolvers_schema_key_api_5 + - identifier: w_searchable_datastore_resolvers_schema_key buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/resolvers.test.ts|src/__tests__/schema-key.test.ts|src/__tests__/api_5.test.ts - CLI_REGION: us-east-1 + TEST_SUITE: src/__tests__/graphql-v2/searchable-datastore.test.ts|src/__tests__/resolvers.test.ts|src/__tests__/schema-key.test.ts + CLI_REGION: eu-central-1 depend-on: - build_windows - upb - - identifier: w_apigw_api_lambda_auth_1_api_key_migration2 + - identifier: w_api_5_apigw_api_lambda_auth_1 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/apigw.test.ts|src/__tests__/graphql-v2/api_lambda_auth_1.test.ts|src/__tests__/migration/api.key.migration2.test.ts - CLI_REGION: us-west-2 + TEST_SUITE: src/__tests__/api_5.test.ts|src/__tests__/apigw.test.ts|src/__tests__/graphql-v2/api_lambda_auth_1.test.ts + CLI_REGION: eu-central-1 depend-on: - build_windows - upb - - identifier: w_schema_searchable_api_key_migration1_schema_auth_14 + - identifier: w_api_key_migration2_schema_searchable_api_key_migration1 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/schema-searchable.test.ts|src/__tests__/migration/api.key.migration1.test.ts|src/__tests__/schema-auth-14.test.ts - CLI_REGION: eu-west-2 + TEST_SUITE: src/__tests__/migration/api.key.migration2.test.ts|src/__tests__/schema-searchable.test.ts|src/__tests__/migration/api.key.migration1.test.ts + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb - - identifier: w_api_3_api_6b_api_1 + - identifier: w_schema_auth_14_api_3_api_6b buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/api_3.test.ts|src/__tests__/api_6b.test.ts|src/__tests__/api_1.test.ts - CLI_REGION: ap-northeast-1 + TEST_SUITE: src/__tests__/schema-auth-14.test.ts|src/__tests__/api_3.test.ts|src/__tests__/api_6b.test.ts + CLI_REGION: us-east-2 depend-on: - build_windows - upb - - identifier: w_layer_1_api_key_migration4_schema_iterative_update_4 + - identifier: w_api_1_layer_1_api_key_migration4 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/layer-1.test.ts|src/__tests__/migration/api.key.migration4.test.ts|src/__tests__/schema-iterative-update-4.test.ts - CLI_REGION: ap-southeast-2 + TEST_SUITE: src/__tests__/api_1.test.ts|src/__tests__/layer-1.test.ts|src/__tests__/migration/api.key.migration4.test.ts + CLI_REGION: us-west-2 depend-on: - build_windows - upb - - identifier: w_function_1 + - identifier: w_schema_iterative_update_4_function_1 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/function_1.test.ts - CLI_REGION: us-east-2 + TEST_SUITE: src/__tests__/schema-iterative-update-4.test.ts|src/__tests__/function_1.test.ts + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1942,7 +1951,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_2c.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1953,7 +1962,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_2e.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1986,7 +1995,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-11-a.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1997,7 +2006,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/import_s3_3.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -2008,7 +2017,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/hostingPROD.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -2019,7 +2028,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -2030,7 +2039,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-15.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -2041,7 +2050,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-connection-1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -2052,7 +2061,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/containers-api-2.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -2063,7 +2072,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/import_s3_1.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 USE_PARENT_ACCOUNT: 1 depend-on: - build_windows @@ -2087,7 +2096,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/geo-remove-1.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -2098,7 +2107,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/import_dynamodb_1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-northeast-1 USE_PARENT_ACCOUNT: 1 depend-on: - build_windows @@ -2109,7 +2118,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-4.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_api_key_migration_v8 @@ -2127,7 +2136,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_api_key_migration_2_v8 @@ -2136,7 +2145,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests/transformer_migration/api.key.migration-2.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_notifications_migration_2_v8 @@ -2145,7 +2154,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-2.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_function_migration_update_v8 @@ -2154,7 +2163,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/update_tests/function_migration_update.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_notifications_migration_3_v8 @@ -2163,7 +2172,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-3.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_scaffold_v10 @@ -2172,7 +2181,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/scaffold.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_api_graphql_v2_migration_v10 @@ -2181,7 +2190,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/api-graphql-v2.migration.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_api_rest_basic_migration_v10 @@ -2190,7 +2199,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-basic.migration.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_api_rest_lambda_migration_v10 @@ -2199,7 +2208,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-lambda.migration.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_api_rest_serverless_migration_v10 @@ -2208,7 +2217,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-serverless.migration.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_auth_add_all_migration_v10 @@ -2217,7 +2226,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/auth-add-all.migration.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_auth_override_migration_v10 @@ -2226,7 +2235,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/auth-override.migration.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_custom_stack_migration_v10 @@ -2235,7 +2244,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/custom-stack.migration.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_geo_migration_v10 @@ -2244,7 +2253,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/geo.migration.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_git_clone_migration_tests_v10 @@ -2253,7 +2262,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/git-clone-migration-tests.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_pinpoint_region_migration_v10 @@ -2271,7 +2280,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/storage.migration.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_auth_app_client_secret_migration_v12 @@ -2280,7 +2289,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-app-client-secret-migration.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_auth_hosted_ui_lambda_migration_v12 @@ -2298,7 +2307,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-lambda-callout-migration-rollback.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_auth_lambda_callout_migration_v12 @@ -2307,7 +2316,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-lambda-callout-migration.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_auth_oauth_lambda_migration_v12 @@ -2316,7 +2325,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-oauth-lambda-migration.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_auth_migration_v12 @@ -2325,7 +2334,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth.migration.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: aggregate_e2e_reports diff --git a/codebuild_specs/wait_for_ids.json b/codebuild_specs/wait_for_ids.json index e964411e562..aac28db69f5 100644 --- a/codebuild_specs/wait_for_ids.json +++ b/codebuild_specs/wait_for_ids.json @@ -1,24 +1,23 @@ [ + "l_S3server_api_8_function_8", "l_amplify_app", "l_amplify_configure_env_2_init_d", "l_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js", - "l_api_1_layer_1_api_key_migration4", + "l_android_notifications_pinpoint_config_flutter_analytics_pinpoint_config_flutter_notifications_pinpoint_config", "l_api_2b_api_6c_api_9a", - "l_api_5_apigw_api_lambda_auth_1", "l_api_6a_auth_7b_export_pull_b", + "l_api_6b_api_1_layer_1", "l_api_7_export_pull_a_function_9a", - "l_api_8_function_8_schema_iterative_update_locking", - "l_api_9b_custom_policies_container_function_9b", - "l_api_connection_migration2_api_4_containers_api_secrets", + "l_api_express_function_auth_12_auth_2g", "l_api_graphql_v2_migration_v10", - "l_api_key_migration2_schema_searchable_api_key_migration1", + "l_api_key_migration1_schema_auth_14_api_3", + "l_api_key_migration4_schema_iterative_update_4_function_1", "l_api_key_migration_2_v8", "l_api_key_migration_v8", - "l_api_lambda_auth_2_layer_2_schema_auth_13", + "l_api_lambda_auth_1_api_key_migration2_schema_searchable", "l_api_rest_basic_migration_v10", "l_api_rest_lambda_migration_v10", "l_api_rest_serverless_migration_v10", - "l_auth_12_auth_2g_auth_2h", "l_auth_1a_auth_trigger_custom_policies_function", "l_auth_1b_delete_geo_add_c", "l_auth_1c_auth_5e_auth_8b", @@ -26,10 +25,11 @@ "l_auth_2c", "l_auth_2e", "l_auth_2f_notifications_lifecycle_notifications_analytics_compatibility_in_app_1", + "l_auth_2h_auth_5g_hosted_ui", "l_auth_3a_auth_3b_auth_4a", "l_auth_4b_auth_8a_export_pull_d", "l_auth_4c_auth_5a_auth_5c", - "l_auth_5g_hosted_ui_user_groups_s3_access", + "l_auth_6_function_2a_schema_connection_2", "l_auth_7a_auth_8c_feature_flags", "l_auth_9_custom_resources_env_5", "l_auth_add_all_migration_v10", @@ -44,23 +44,22 @@ "l_container_hosting_init_b_notifications_apns", "l_containers_api_1", "l_containers_api_2", + "l_containers_api_secrets_storage_4_schema_auth_10", + "l_custom_resource_with_storage_dynamodb_simulator_export_pull_c", "l_custom_stack_migration_v10", "l_datastore_modelgen", "l_diagnose_hooks_a_mock_api", - "l_dynamodb_simulator_export_pull_c_function_12", "l_env_1_geo_add_a_init_a", "l_env_3", "l_env_4_frontend_config_drift_schema_auth_4d", - "l_flutter_analytics_pinpoint_config_flutter_notifications_pinpoint_config_ios_analytics_pinpoint_config", "l_function_10_function_9c_function_permissions", - "l_function_11_function_2b_function_7", - "l_function_13_function_14_function_15", - "l_function_2a_schema_connection_2_schema_function_1", + "l_function_12_function_13_function_14", + "l_function_15_function_2d_general_config_headless_init", "l_function_2c_function_3b_function_4", - "l_function_2d_general_config_headless_init_help", "l_function_3a_init_special_case_http_migration", - "l_function_5_schema_iterative_update_1_auth_6", "l_function_6_storage_2_export", + "l_function_7_api_connection_migration2_api_4", + "l_function_9b_schema_iterative_update_2_storage_1a", "l_function_migration_update_v8", "l_geo_add_b_s3_sse_schema_auth_4a", "l_geo_add_d_geo_import_3_hosting", @@ -70,6 +69,7 @@ "l_geo_import_1a_geo_import_2_global_sandbox_b", "l_geo_import_1b_global_sandbox_a_init_e", "l_geo_migration_v10", + "l_geo_multi_env_searchable_datastore_resolvers", "l_geo_remove_1", "l_geo_remove_2", "l_geo_remove_3", @@ -77,8 +77,8 @@ "l_geo_update_2", "l_git_clone_attach_init_c_layer_4", "l_git_clone_migration_tests_v10", + "l_help_hooks_c_init_force_push", "l_hooks_b_notifications_analytics_compatibility_sms_1_plugin", - "l_hooks_c_init_force_push_interactions_1", "l_hostingPROD", "l_iam_permissions_boundary_node_function_notifications_sms", "l_import_auth_1a", @@ -96,9 +96,10 @@ "l_import_s3_2c", "l_import_s3_3", "l_init_f_auth_5d_configure_project", - "l_interactions_2_minify_cloudformation_notifications_multi_env", + "l_interactions_1_interactions_2_minify_cloudformation", "l_interactions_schema_model_a_tags", - "l_ios_notifications_pinpoint_config_javascript_analytics_pinpoint_config_javascript_notifications_pinpoint_config", + "l_ios_analytics_pinpoint_config_ios_notifications_pinpoint_config_javascript_analytics_pinpoint_config", + "l_javascript_notifications_pinpoint_config_pr_previews_multi_env_1_pull_2", "l_layer_3_api_connection_migration_api_key_migration3", "l_notifications_analytics_compatibility_in_app_2_schema_auth_11_c_schema_auth_2b", "l_notifications_analytics_compatibility_sms_2_analytics_2_global_sandbox_c", @@ -108,16 +109,16 @@ "l_notifications_migration_3_v8", "l_notifications_migration_4_v8", "l_notifications_migration_v8", + "l_notifications_multi_env_notifications_sms_update_opensearch_simulator", "l_notifications_sms_pull_pull_auth_10", - "l_notifications_sms_update_opensearch_simulator_parameter_store_1", - "l_parameter_store_2_android_analytics_pinpoint_config_android_notifications_pinpoint_config", + "l_parameter_store_1_parameter_store_2_android_analytics_pinpoint_config", "l_pinpoint_region_migration_v10", - "l_pr_previews_multi_env_1_pull_2_push", "l_predictions_schema_auth_11_b_schema_auth_1b", + "l_push_smoketest_ios_smoketest", "l_scaffold_v10", "l_schema_auth_11_a", "l_schema_auth_12_schema_auth_3_schema_function_2", - "l_schema_auth_14_api_3_api_6b", + "l_schema_auth_13_function_5_schema_iterative_update_1", "l_schema_auth_15", "l_schema_auth_2a_schema_auth_7a_schema_auth_7b", "l_schema_auth_4b_schema_model_e_schema_versioned", @@ -131,28 +132,29 @@ "l_schema_auth_9_b_schema_iterative_rollback_1_predictions_migration", "l_schema_auth_9_c_storage_3_auth_11", "l_schema_connection_1", - "l_schema_iterative_update_2_storage_1a_storage_1b", - "l_schema_iterative_update_4_function_1_storage_5", + "l_schema_function_1_api_9b_custom_policies_container", + "l_schema_iterative_update_locking_api_lambda_auth_2_layer_2", + "l_schema_key_api_5_apigw", "l_schema_model_b_schema_model_d_auth_5f", "l_schema_predictions_model_migration_auth_3c", - "l_searchable_datastore_resolvers_schema_key", "l_searchable_migration", - "l_smoketest_ios_smoketest_S3server", - "l_storage_4_schema_auth_10_geo_multi_env", + "l_storage_1b_function_11_function_2b", + "l_storage_5", "l_storage_migration_v10", "l_studio_modelgen_custom_transformers_notifications_in_app_messaging_env_1", "l_uibuilder", - "l_user_groups_build_function_custom_resource_with_storage", + "l_user_groups_s3_access_user_groups_build_function", "w_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js", "w_api_10_api_7_export_pull_a", + "w_api_1_layer_1_api_key_migration4", "w_api_2a_api_2b_api_6c", - "w_api_3_api_6b_api_1", - "w_api_4_containers_api_secrets_storage_4", + "w_api_5_apigw_api_lambda_auth_1", "w_api_6a_auth_7b_export_pull_b", - "w_api_9a_auth_2h_auth_5g", - "w_api_9b_custom_policies_container_function_9b", + "w_api_8_schema_iterative_update_locking_api_lambda_auth_2", + "w_api_9a_api_express_function_auth_2h", + "w_api_connection_migration2_api_4_containers_api_secrets", + "w_api_key_migration2_schema_searchable_api_key_migration1", "w_api_key_migration3_predictions_schema_auth_11_b", - "w_apigw_api_lambda_auth_1_api_key_migration2", "w_auth_11_auth_1b_delete", "w_auth_2a_auth_2b_auth_2d", "w_auth_2c", @@ -161,31 +163,29 @@ "w_auth_4a_auth_7a_auth_8c", "w_auth_5a_auth_5c_env_1", "w_auth_5e_auth_8b_geo_add_b", + "w_auth_5g_hosted_ui_user_groups_s3_access", + "w_auth_6_function_2a_schema_connection_2", "w_auth_8a_export_pull_d_schema_auth_5a", - "w_build_function_dynamodb_simulator_export_pull_c", "w_configure_project_init_c_layer_4", "w_containers_api_1", "w_containers_api_2", "w_custom_policies_function_storage_2_iam_permissions_boundary", "w_env_3", "w_env_5_function_10_function_9c", + "w_export_pull_c_function_12_function_13", "w_feature_flags_geo_import_1b_global_sandbox_a", "w_frontend_config_drift_schema_auth_4d_schema_auth_6a", - "w_function_1", - "w_function_11_function_2b_api_connection_migration2", - "w_function_12_function_13_function_14", - "w_function_2a_schema_connection_2_schema_function_1", + "w_function_14_function_2d_general_config_headless_init", "w_function_2c_interactions_schema_model_a", - "w_function_2d_general_config_headless_init_help", - "w_function_5_schema_iterative_update_1_auth_6", "w_function_9a_geo_headless_api_key_migration5", + "w_function_9b_schema_iterative_update_2_storage_1a", "w_function_permissions_geo_import_1a_geo_import_2", "w_geo_add_a_init_a_schema_auth_4c", "w_geo_add_c_geo_add_d_geo_import_3", "w_geo_remove_1", "w_global_sandbox_b_schema_auth_5d_schema_auth_6b", + "w_help_init_force_push_interactions_1", "w_hooks_b_notifications_analytics_compatibility_sms_1_plugin", - "w_hosted_ui_user_groups_s3_access_user_groups", "w_hostingPROD", "w_hosting_layer_3_api_connection_migration", "w_import_dynamodb_1", @@ -194,21 +194,20 @@ "w_init_b_notifications_apns_notifications_fcm", "w_init_d_init_f_auth_5d", "w_init_e_notifications_analytics_compatibility_in_app_2_schema_auth_11_c", - "w_init_force_push_interactions_1_interactions_2", "w_init_special_case_http_migration_schema_auth_12", - "w_layer_1_api_key_migration4_schema_iterative_update_4", - "w_minify_cloudformation_notifications_multi_env_notifications_sms_update", + "w_interactions_2_minify_cloudformation_notifications_multi_env", "w_model_migration_auth_3c_auth_4c", "w_node_function_notifications_sms_schema_auth_4b", "w_notifications_analytics_compatibility_sms_2_analytics_2_global_sandbox_c", "w_notifications_in_app_messaging", "w_notifications_in_app_messaging_env_2_with_babel_config_amplify_configure", "w_notifications_sms_pull_auth_10_container_hosting", - "w_parameter_store_1_parameter_store_2_push", - "w_resolvers_schema_key_api_5", + "w_notifications_sms_update_parameter_store_1_parameter_store_2", + "w_push_smoketest_ios_smoketest", "w_s3_sse_schema_auth_4a_schema_model_b", - "w_schema_auth_10_geo_multi_env_searchable_datastore", "w_schema_auth_11_a", + "w_schema_auth_13_function_5_schema_iterative_update_1", + "w_schema_auth_14_api_3_api_6b", "w_schema_auth_15", "w_schema_auth_1a_schema_auth_5b_schema_auth_8b", "w_schema_auth_1b_schema_auth_2a_schema_auth_7a", @@ -221,14 +220,16 @@ "w_schema_auth_9_a_schema_auth_9_c_storage_3", "w_schema_connection_1", "w_schema_data_access_patterns_schema_model_c_schema_predictions", - "w_schema_iterative_update_2_storage_1a_storage_1b", + "w_schema_function_1_api_9b_custom_policies_container", "w_schema_iterative_update_3_auth_migration_amplify_remove", - "w_schema_iterative_update_locking_api_lambda_auth_2_schema_auth_13", + "w_schema_iterative_update_4_function_1", "w_schema_model_d_auth_5f_env_4", "w_schema_model_e_schema_versioned_auth_1c", - "w_schema_searchable_api_key_migration1_schema_auth_14", + "w_searchable_datastore_resolvers_schema_key", "w_searchable_migration", - "w_smoketest_ios_smoketest_api_8", + "w_storage_1b_function_11_function_2b", + "w_storage_4_schema_auth_10_geo_multi_env", "w_studio_modelgen_custom_transformers_notifications_in_app_messaging_env_1", - "w_tags_auth_1a_auth_trigger" + "w_tags_auth_1a_auth_trigger", + "w_user_groups_build_function_dynamodb_simulator" ] diff --git a/packages/amplify-e2e-tests/src/__tests__/api-express-function.test.ts b/packages/amplify-e2e-tests/src/__tests__/api-express-function.test.ts new file mode 100644 index 00000000000..96b93ff32d7 --- /dev/null +++ b/packages/amplify-e2e-tests/src/__tests__/api-express-function.test.ts @@ -0,0 +1,80 @@ +import { + addRestApi, + createNewProjectDir, + deleteProject, + deleteProjectDir, + initJSProjectWithProfile, + amplifyPushAuth, + getProjectMeta, +} from '@aws-amplify/amplify-e2e-core'; +import fetch from 'node-fetch'; +import { v4 as uuid } from 'uuid'; + +const projName = 'apigwexpresstest'; +const [shortId] = uuid().split('-'); +const apiName = `expressapi${shortId}`; + +describe('API Gateway Express e2e test', () => { + let projRoot: string; + beforeEach(async () => { + projRoot = await createNewProjectDir(projName); + await initJSProjectWithProfile(projRoot, { name: projName }); + await addRestApi(projRoot, { apiName: apiName, projectContainsFunctions: false, isCrud: false }); // rest api with serverless express template + await amplifyPushAuth(projRoot); + }); + + afterEach(async () => { + await deleteProject(projRoot); + deleteProjectDir(projRoot); + }); + + it(' curd requests to api gateway ', async () => { + const projMeta = getProjectMeta(projRoot); + expect(projMeta.api).toBeDefined(); + const apiPath = projMeta?.api?.[apiName]?.output?.RootUrl; + expect(apiPath).toBeDefined(); + const apiResource = `${apiPath}/items`; + + // GET request + const resGet = await fetch(apiResource); + expect(resGet.status).toEqual(200); + await resGet.json().then((data) => { + expect(data.success).toEqual('get call succeed!'); + }); + + // POST request + const resPost = await fetch(apiResource, { + method: 'POST', + body: JSON.stringify({ msg: 'hello' }), + headers: { 'Content-Type': 'application/json' }, + }); + expect(resPost.status).toEqual(200); + await resPost.json().then((data) => { + expect(data.success).toEqual('post call succeed!'); + expect(data.body.msg).toEqual('hello'); + }); + + // PUT request + const resPut = await fetch(apiResource, { + method: 'PUT', + body: JSON.stringify({ msg: 'hello' }), + headers: { 'Content-Type': 'application/json' }, + }); + expect(resPut.status).toEqual(200); + await resPut.json().then((data) => { + expect(data.success).toEqual('put call succeed!'); + expect(data.body.msg).toEqual('hello'); + }); + + // DELETE request + const resDelete = await fetch(apiResource, { + method: 'DELETE', + body: JSON.stringify({ msg: 'hello' }), + headers: { 'Content-Type': 'application/json' }, + }); + expect(resDelete.status).toEqual(200); + await resDelete.json().then((data) => { + expect(data.success).toEqual('delete call succeed!'); + }); + }); +}); diff --git a/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/app.js.ejs b/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/app.js.ejs index 56be61017d5..98d2d1f4d72 100644 --- a/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/app.js.ejs +++ b/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/app.js.ejs @@ -9,14 +9,12 @@ See the License for the specific language governing permissions and limitations <%= props.topLevelComment %> -const express = require('express') -const bodyParser = require('body-parser') -const awsServerlessExpressMiddleware = require('aws-serverless-express/middleware') +const express = require('express'); +const { getCurrentInvoke } = require("@vendia/serverless-express"); // declare a new express app const app = express() -app.use(bodyParser.json()) -app.use(awsServerlessExpressMiddleware.eventContext()) +app.use(express.json()) // Enable CORS for all methods app.use(function(req, res, next) { @@ -46,12 +44,16 @@ app.get('<%= props.functionTemplate.parameters.expressPath %>/*', function(req, app.post('<%= props.functionTemplate.parameters.expressPath %>', function(req, res) { // Add your code here - res.json({success: 'post call succeed!', url: req.url, body: req.body}) + const { event, context } = getCurrentInvoke(); + const requestBody = JSON.parse(event.body); + res.json({ success: 'post call succeed!', url: req.url, body: requestBody }); }); app.post('<%= props.functionTemplate.parameters.expressPath %>/*', function(req, res) { // Add your code here - res.json({success: 'post call succeed!', url: req.url, body: req.body}) + const { event, context } = getCurrentInvoke(); + const requestBody = JSON.parse(event.body); + res.json({ success: 'post call succeed!', url: req.url, body: requestBody }); }); /**************************** @@ -60,12 +62,16 @@ app.post('<%= props.functionTemplate.parameters.expressPath %>/*', function(req, app.put('<%= props.functionTemplate.parameters.expressPath %>', function(req, res) { // Add your code here - res.json({success: 'put call succeed!', url: req.url, body: req.body}) + const { event, context } = getCurrentInvoke(); + const requestBody = JSON.parse(event.body); + res.json({ success: 'put call succeed!', url: req.url, body: requestBody }); }); app.put('<%= props.functionTemplate.parameters.expressPath %>/*', function(req, res) { // Add your code here - res.json({success: 'put call succeed!', url: req.url, body: req.body}) + const { event, context } = getCurrentInvoke(); + const requestBody = JSON.parse(event.body); + res.json({ success: 'put call succeed!', url: req.url, body: requestBody }); }); /**************************** diff --git a/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/event.json b/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/event.json index 77c9a116755..d0213c5434c 100644 --- a/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/event.json +++ b/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/event.json @@ -1,11 +1,15 @@ { "httpMethod": "POST", - "path": "/item", + "path": "/items", "queryStringParameters": { "limit": "10" }, "headers": { "Content-Type": "application/json" }, - "body": "{\"msg\":\"Hello from the event.json body\"}" + "body": "{'msg':'Hello from the event.json body'}", + "requestContext": { + "resourcePath": "/item", + "httpMethod": "POST" + } } diff --git a/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/index.js b/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/index.js index 832a7f6e6f2..59fe0a81b12 100644 --- a/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/index.js +++ b/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/index.js @@ -1,15 +1,10 @@ -const awsServerlessExpress = require('aws-serverless-express'); +const serverlessExpress = require('@vendia/serverless-express'); const app = require('./app'); -/** - * @type {import('http').Server} - */ -const server = awsServerlessExpress.createServer(app); - /** * @type {import('@types/aws-lambda').APIGatewayProxyHandler} */ -exports.handler = (event, context) => { +exports.handler = async (event, context) => { console.log(`EVENT: ${JSON.stringify(event)}`); - return awsServerlessExpress.proxy(server, event, context, 'PROMISE').promise; + return serverlessExpress({ app })(event, context); }; diff --git a/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/package.json.ejs b/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/package.json.ejs index 1484ddfd966..002833816f4 100644 --- a/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/package.json.ejs +++ b/packages/amplify-nodejs-function-template-provider/resources/lambda/serverless/package.json.ejs @@ -5,8 +5,7 @@ "main": "index.js", "license": "Apache-2.0", "dependencies": { - "aws-serverless-express": "^3.3.5", - "body-parser": "^1.17.1", + "@vendia/serverless-express": "^4.10.4", "express": "^4.15.2" }, "devDependencies": {