diff --git a/codebuild_specs/e2e_workflow_generated.yml b/codebuild_specs/e2e_workflow_generated.yml index 924f8e8aa82..21a2ce0df1c 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: eu-central-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: us-east-1 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: eu-central-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-1 depend-on: - upb - identifier: l_hooks_b_notifications_analytics_compatibility_sms_1_plugin @@ -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-southeast-1 depend-on: - upb - identifier: l_notifications_sms_pull_pull_auth_10 @@ -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: us-east-2 depend-on: - upb - identifier: l_notifications_fcm_notifications_in_app_messaging_env_2_with_babel_config @@ -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: eu-west-2 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-1 depend-on: - upb - identifier: l_git_clone_attach_init_c_layer_4 @@ -241,7 +241,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/git-clone-attach.test.ts|src/__tests__/init_c.test.ts|src/__tests__/layer-4.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_function_2c_function_3b_function_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-central-1 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-east-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-central-1 depend-on: - upb - identifier: l_iam_permissions_boundary_node_function_notifications_sms @@ -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: us-east-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-1 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: ap-northeast-1 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-1 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-1 depend-on: - upb - identifier: l_schema_auth_6a_schema_data_access_patterns_schema_model_c @@ -337,7 +337,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-predictions.test.ts|src/__tests__/transformer-migrations/model-migration.test.ts|src/__tests__/auth_3c.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_auth_4c_auth_5a_auth_5c @@ -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: ap-southeast-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-northeast-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: us-west-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: us-east-2 depend-on: - upb - identifier: l_function_10_function_9c_function_permissions @@ -377,7 +377,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/function_10.test.ts|src/__tests__/function_9c.test.ts|src/__tests__/function-permissions.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_geo_import_1a_geo_import_2_global_sandbox_b @@ -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: ap-southeast-2 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: us-east-1 depend-on: - upb - identifier: l_auth_3a_auth_3b_auth_4a @@ -401,7 +401,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_3a.test.ts|src/__tests__/auth_3b.test.ts|src/__tests__/auth_4a.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_auth_7a_auth_8c_feature_flags @@ -409,7 +409,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_7a.test.ts|src/__tests__/auth_8c.test.ts|src/__tests__/feature-flags.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_geo_import_1b_global_sandbox_a_init_e @@ -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-west-2 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: eu-central-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-2 depend-on: - upb - identifier: l_schema_auth_8a_function_migration_api_10 @@ -441,7 +441,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-8a.test.ts|src/__tests__/transformer-migrations/function-migration.test.ts|src/__tests__/api_10.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_api_7_export_pull_a_function_9a @@ -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: us-west-2 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-1 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: eu-west-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: us-east-2 depend-on: - upb - identifier: l_auth_1b_delete_geo_add_c @@ -481,7 +481,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_1b.test.ts|src/__tests__/delete.test.ts|src/__tests__/geo-add-c.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_geo_add_d_geo_import_3_hosting @@ -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: eu-central-1 depend-on: - upb - identifier: l_schema_auth_2a_schema_auth_7a_schema_auth_7b @@ -513,7 +513,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-2a.test.ts|src/__tests__/schema-auth-7a.test.ts|src/__tests__/schema-auth-7b.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_schema_auth_9_b_schema_iterative_rollback_1_predictions_migration @@ -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: eu-west-2 depend-on: - upb - identifier: l_api_6a_auth_7b_export_pull_b @@ -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: eu-central-1 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-central-1 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: us-east-2 depend-on: - upb - identifier: l_auth_migration_amplify_remove_api_2a @@ -569,7 +569,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/transformer-migrations/auth-migration.test.ts|src/__tests__/amplify-remove.test.ts|src/__tests__/api_2a.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_api_2b_api_6c_api_9a @@ -585,7 +585,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_12.test.ts|src/__tests__/auth_2g.test.ts|src/__tests__/auth_2h.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_auth_5g_hosted_ui_user_groups_s3_access @@ -593,222 +593,231 @@ batch: 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 + CLI_REGION: us-east-2 depend-on: - upb - - identifier: l_user_groups_build_function_custom_resource_with_storage + - identifier: l_user_groups_js_frontend_config_build_function 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__/auth/user-groups.test.ts|src/__tests__/aws-exports/js-frontend-config.test.ts|src/__tests__/build-function.test.ts CLI_REGION: us-west-2 depend-on: - upb - - identifier: l_dynamodb_simulator_export_pull_c_function_12 + - 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__/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__/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_function_13_function_14_function_15 + - identifier: l_function_12_function_13_function_14 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_12.test.ts|src/__tests__/function_13.test.ts|src/__tests__/function_14.test.ts + CLI_REGION: us-west-2 depend-on: - upb - - identifier: l_function_2d_general_config_headless_init_help + - 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_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__/function_15.test.ts|src/__tests__/function_2d.test.ts|src/__tests__/general-config/general-config-headless-init.test.ts + CLI_REGION: us-west-2 depend-on: - upb - - identifier: l_hooks_c_init_force_push_interactions_1 + - identifier: l_help_hooks_c_init_force_push 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 - CLI_REGION: us-west-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_interactions_2_minify_cloudformation_notifications_multi_env + - identifier: l_interactions_1_interactions_2_minify_cloudformation 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 + 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_notifications_sms_update_opensearch_simulator_parameter_store_1 + - identifier: l_notifications_multi_env_notifications_sms_update_opensearch_simulator 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__/notifications-multi-env.test.ts|src/__tests__/notifications-sms-update.test.ts|src/__tests__/opensearch-simulator/opensearch-simulator.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_parameter_store_1_parameter_store_2_android_analytics_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__/parameter-store-1.test.ts|src/__tests__/parameter-store-2.test.ts|src/__tests__/pinpoint/android-analytics-pinpoint-config.test.ts + CLI_REGION: eu-west-2 depend-on: - upb - - identifier: l_flutter_analytics_pinpoint_config_flutter_notifications_pinpoint_config_ios_analytics_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__/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 - CLI_REGION: ap-southeast-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-2 depend-on: - upb - - identifier: l_ios_notifications_pinpoint_config_javascript_analytics_pinpoint_config_javascript_notifications_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/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/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: eu-central-1 depend-on: - upb - - identifier: l_pr_previews_multi_env_1_pull_2_push + - 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__/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__/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_smoketest_ios_smoketest_S3server + - identifier: l_push_smoketest_ios_smoketest 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__/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: - upb - - identifier: l_api_8_function_8_schema_iterative_update_locking + - identifier: l_S3server_api_8_function_8 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__/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_lambda_auth_2_layer_2_schema_auth_13 + - 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__/graphql-v2/api_lambda_auth_2.test.ts|src/__tests__/layer-2.test.ts|src/__tests__/schema-auth-13.test.ts + 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: eu-central-1 depend-on: - upb - - identifier: l_function_5_schema_iterative_update_1_auth_6 + - 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__/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__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts + CLI_REGION: ap-northeast-1 depend-on: - upb - - identifier: l_function_2a_schema_connection_2_schema_function_1 + - identifier: l_auth_6_function_2a_schema_connection_2 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__/auth_6.test.ts|src/__tests__/function_2a.test.ts|src/__tests__/schema-connection-2.test.ts + CLI_REGION: ap-southeast-2 depend-on: - upb - - identifier: l_api_9b_custom_policies_container_function_9b + - identifier: l_schema_function_1_api_9b_custom_policies_container 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 + 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-1 depend-on: - upb - - identifier: l_schema_iterative_update_2_storage_1a_storage_1b + - identifier: l_function_9b_schema_iterative_update_2_storage_1a 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 + 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-west-2 + depend-on: + - upb + - identifier: l_storage_1b_function_11_function_2b + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + 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: - 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-2 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-2 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: ap-southeast-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: eu-central-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-2 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 + 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: ap-northeast-1 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: eu-central-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 + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/storage-5.test.ts CLI_REGION: us-east-1 depend-on: - upb @@ -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: ap-southeast-2 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-southeast-2 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: eu-west-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: us-east-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: us-east-2 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: ap-southeast-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-northeast-1 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: eu-west-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: eu-west-2 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: ap-northeast-1 depend-on: - upb - identifier: l_notifications_in_app_messaging @@ -928,7 +937,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_2a.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_import_auth_1a @@ -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: us-east-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: ap-northeast-1 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: ap-southeast-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: eu-central-1 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-west-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-southeast-1 depend-on: - upb - identifier: l_geo_update_1 @@ -991,7 +1000,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-update-1.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_geo_update_2 @@ -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: us-west-2 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-east-1 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: ap-southeast-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-east-1 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-west-2 depend-on: - upb - identifier: l_containers_api_1 @@ -1045,7 +1054,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_schema_auth_15 @@ -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 @@ -1063,7 +1072,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/schema-connection-1.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_import_auth_3 @@ -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: us-east-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: ap-southeast-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: eu-west-2 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: us-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-1 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: ap-northeast-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: eu-central-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: eu-west-2 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: us-east-2 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: ap-southeast-1 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: eu-west-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-east-1 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-2 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-west-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: us-west-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: us-east-2 depend-on: - build_windows - upb @@ -1271,7 +1280,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/tags.test.ts|src/__tests__/auth_1a.test.ts|src/__tests__/auth-trigger.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-1 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: ap-southeast-2 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-west-2 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: us-east-1 depend-on: - build_windows - upb @@ -1315,7 +1324,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_5e.test.ts|src/__tests__/auth_8b.test.ts|src/__tests__/geo-add-b.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-2 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: ap-southeast-1 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: ap-northeast-1 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-2 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: ap-southeast-2 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: us-east-2 depend-on: - build_windows - upb @@ -1403,7 +1412,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-5c.test.ts|src/__tests__/auth_5b.test.ts|src/__tests__/auth_9.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-northeast-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-east-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 @@ -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-west-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: eu-west-2 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: ap-southeast-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: us-west-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: eu-central-1 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: ap-northeast-1 depend-on: - build_windows - upb @@ -1535,7 +1544,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-1a.test.ts|src/__tests__/schema-auth-5b.test.ts|src/__tests__/schema-auth-8b.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-central-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-west-2 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: us-east-1 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: ap-northeast-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-central-1 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-west-2 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: us-east-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: ap-northeast-1 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: eu-central-1 depend-on: - build_windows - upb @@ -1645,7 +1654,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-3.test.ts|src/__tests__/schema-function-2.test.ts|src/__tests__/auth_4b.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-central-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: eu-central-1 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: ap-southeast-2 depend-on: - build_windows - upb @@ -1678,7 +1687,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/api_2a.test.ts|src/__tests__/api_2b.test.ts|src/__tests__/api_6c.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1689,7 +1698,7 @@ batch: 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 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1700,238 +1709,238 @@ batch: 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 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb - - identifier: w_build_function_dynamodb_simulator_export_pull_c + - identifier: w_js_frontend_config_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__/aws-exports/js-frontend-config.test.ts|src/__tests__/build-function.test.ts|src/__tests__/dynamodb-simulator/dynamodb-simulator.test.ts + CLI_REGION: us-east-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: ap-southeast-2 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 - CLI_REGION: us-east-1 + 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: ap-southeast-2 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-southeast-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-1 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: ap-southeast-2 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-1 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-northeast-1 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 + 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: eu-central-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 + 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 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: us-east-2 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-west-2 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-southeast-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 + TEST_SUITE: src/__tests__/schema-auth-14.test.ts|src/__tests__/api_3.test.ts|src/__tests__/api_6b.test.ts CLI_REGION: ap-northeast-1 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: ap-southeast-1 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: us-west-2 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-1 depend-on: - build_windows - upb @@ -1964,7 +1973,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/env-3.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1975,7 +1984,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 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-southeast-2 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: eu-central-1 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-east-1 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-1 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: ap-northeast-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: us-east-1 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-west-2 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: us-east-1 USE_PARENT_ACCOUNT: 1 depend-on: - build_windows @@ -2075,7 +2084,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/transformer-migrations/searchable-migration.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-northeast-1 USE_PARENT_ACCOUNT: 1 depend-on: - build_windows @@ -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: eu-central-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-west-2 depend-on: - upb - identifier: l_api_key_migration_v8 @@ -2118,7 +2127,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests/transformer_migration/api.key.migration.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_notifications_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: ap-southeast-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-northeast-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: ap-northeast-1 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: eu-central-1 depend-on: - upb - identifier: l_notifications_migration_3_v8 @@ -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: eu-west-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: ap-southeast-2 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: ap-southeast-2 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: eu-west-2 depend-on: - upb - identifier: l_api_rest_serverless_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-northeast-1 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: us-east-2 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: eu-central-1 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: eu-central-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: ap-southeast-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-1 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 @@ -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: ap-southeast-2 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..b43357f2252 100644 --- a/codebuild_specs/wait_for_ids.json +++ b/codebuild_specs/wait_for_ids.json @@ -1,20 +1,19 @@ [ + "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_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", @@ -30,6 +29,7 @@ "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_js_frontend_config_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_8_schema_iterative_update_locking_api_lambda_auth_2", "w_api_9a_auth_2h_auth_5g", - "w_api_9b_custom_policies_container_function_9b", + "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,29 +163,27 @@ "w_auth_4a_auth_7a_auth_8c", "w_auth_5a_auth_5c_env_1", "w_auth_5e_auth_8b_geo_add_b", + "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", @@ -194,21 +194,21 @@ "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_js_frontend_config_build_function_dynamodb_simulator", "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 +221,15 @@ "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" ] diff --git a/packages/amplify-e2e-tests/package.json b/packages/amplify-e2e-tests/package.json index f873542e2ee..2dd20ae3265 100644 --- a/packages/amplify-e2e-tests/package.json +++ b/packages/amplify-e2e-tests/package.json @@ -34,6 +34,8 @@ "@aws-sdk/client-dynamodb": "^3.303.0", "@aws-sdk/client-s3": "^3.303.0", "@aws-sdk/client-ssm": "^3.303.0", + "@babel/core": "^7.10.5", + "@babel/plugin-transform-modules-commonjs": "7.10.4", "amplify-dynamodb-simulator": "2.9.0", "amplify-headless-interface": "1.17.4", "amplify-storage-simulator": "1.11.0", diff --git a/packages/amplify-e2e-tests/src/__tests__/aws-exports/js-frontend-config.test.ts b/packages/amplify-e2e-tests/src/__tests__/aws-exports/js-frontend-config.test.ts new file mode 100644 index 00000000000..c503d6acee6 --- /dev/null +++ b/packages/amplify-e2e-tests/src/__tests__/aws-exports/js-frontend-config.test.ts @@ -0,0 +1,98 @@ +import * as fs from 'fs-extra'; +import execa from 'execa'; + +import { + addAuthWithDefault, + amplifyPushAuth, + createNewProjectDir, + deleteProject, + deleteProjectDir, + getNpxPath, + initJSProjectWithProfile, +} from '@aws-amplify/amplify-e2e-core'; +import * as babel from '@babel/core'; +import * as babelTransformEsmToCjs from '@babel/plugin-transform-modules-commonjs'; +import Module from 'module'; + +describe('JS frontend config tests', () => { + let projRoot: string; + let appRoot: string; + + beforeEach(async () => { + projRoot = await createNewProjectDir('aws-exports-test'); + appRoot = await createReactApp(projRoot, 'reactapp'); + }); + + afterEach(async () => { + // extra delete in case test fails, delete is noop if project was already deleted + await deleteProject(appRoot); + deleteProjectDir(projRoot); + }); + + test('both aws-exports.js & amplifyconfiguration.json is generated', async () => { + // amplify init, this will generate aws-exports in the project + await initJSProjectWithProfile(appRoot, { name: 'reactapp' }); + + // check if amplify init generated project files + expect(fs.existsSync(`${appRoot}/src/aws-exports.js`)).toBeTruthy(); + expect(fs.existsSync(`${appRoot}/src/amplifyconfiguration.json`)).toBeTruthy(); + + const initialAwsExportsModule = readAwsExports(appRoot, `${appRoot}/src/aws-exports.js`); + const initialAmplifyConfiguration = fs.readJSONSync(`${appRoot}/src/amplifyconfiguration.json`); + + // contents should match + expect(initialAwsExportsModule).toMatchObject(initialAmplifyConfiguration); + + // should update both aws-exports.js & amplifyconfiguration.json + // add a category + await addAuthWithDefault(appRoot); + await amplifyPushAuth(appRoot); + + // when aws-exports updates, both files should still exist + const awsExportsModule = readAwsExports(appRoot, `${appRoot}/src/aws-exports.js`); + const amplifyConfiguration = fs.readJSONSync(`${appRoot}/src/amplifyconfiguration.json`); + + // config should have updated + expect(amplifyConfiguration.aws_user_pools_id).toBeDefined(); + + // contents should match + expect(amplifyConfiguration).toMatchObject(awsExportsModule); + expect(amplifyConfiguration).not.toStrictEqual(initialAmplifyConfiguration); + + // both aws-exports.js & amplifyconfiguration.json should be removed on delete + await deleteProject(appRoot); + + // when amplify app gets deleted, all config should be removed + expect(fs.existsSync(`${appRoot}/src/aws-exports.js`)).toBeFalsy(); + expect(fs.existsSync(`${appRoot}/src/amplifyconfiguration.json`)).toBeFalsy(); + }); +}); + +// returns path to react project directory +async function createReactApp(cwd: string, projectName: string) { + const projectRoot = `${cwd}/${projectName}`; + + execa.sync(getNpxPath(), ['create-react-app', '--scripts-version', '5.0.1', projectName, '--use-npm'], { cwd, encoding: 'utf-8' }); + + return projectRoot; +} + +/** + * Reads and transpiles aws exports. Jest doesn't like ES6 modules. + */ +function readAwsExports(projectPath: string, targetFilePath: string) { + const fileContents = fs.readFileSync(targetFilePath, 'utf-8'); + // transpile the file contents to CommonJS + const { code } = babel.transformSync(fileContents, { + plugins: [babelTransformEsmToCjs], + configFile: false, + babelrc: false, + }); + const mod = new Module('test_module'); + // @ts-ignore + mod._compile(code, 'aws-exports.js'); + // add paths to the module to account for node_module imports in aws-exports.js (should there be any) + mod.paths = [projectPath]; + // the transpiled result will contain `exports.default` + return mod.exports?.default || mod.exports; +} diff --git a/packages/amplify-frontend-javascript/index.js b/packages/amplify-frontend-javascript/index.js index 80dd0353d2e..824b157b88e 100644 --- a/packages/amplify-frontend-javascript/index.js +++ b/packages/amplify-frontend-javascript/index.js @@ -37,7 +37,9 @@ async function createFrontendConfigsAtPath(context, amplifyResources, amplifyClo const cloudOutputsForFrontend = amplifyCloudResources.outputsForFrontend; const amplifyConfig = await getAWSExports(context, newOutputsForFrontend, cloudOutputsForFrontend); - await generateAwsExportsAtPath(context, path.join(exportPath, constants.exportsFilename), amplifyConfig); + + context.amplify.writeObjectAsJson(path.join(exportPath, constants.exportsJSONFilename), amplifyConfig, true); + await generateAwsExportsAtPath(context, path.join(exportPath, constants.exportsJSFilename), amplifyConfig); } async function createFrontendConfigs(context, amplifyResources, amplifyCloudResources) { diff --git a/packages/amplify-frontend-javascript/lib/constants.js b/packages/amplify-frontend-javascript/lib/constants.js index 31e7e63cbdf..d5771fcfe2c 100644 --- a/packages/amplify-frontend-javascript/lib/constants.js +++ b/packages/amplify-frontend-javascript/lib/constants.js @@ -3,5 +3,6 @@ module.exports = { ProjectScanBaseScore: 10, ProjectScanMaxScore: 90, configFilename: 'amplify-config.js', - exportsFilename: 'aws-exports.js', + exportsJSFilename: 'aws-exports.js', + exportsJSONFilename: 'amplifyconfiguration.json', }; diff --git a/packages/amplify-frontend-javascript/lib/frontend-config-creator.js b/packages/amplify-frontend-javascript/lib/frontend-config-creator.js index a66d9805c08..478dd222cf3 100644 --- a/packages/amplify-frontend-javascript/lib/frontend-config-creator.js +++ b/packages/amplify-frontend-javascript/lib/frontend-config-creator.js @@ -86,10 +86,14 @@ const fileNames = ['queries', 'mutations', 'subscriptions']; function deleteAmplifyConfig(context) { const { srcDirPath, projectPath } = getSrcDir(context); - // delete aws-exports + // delete aws-exports.js & amplifyConfiguration.json if (fs.existsSync(srcDirPath)) { - const targetFilePath = path.join(srcDirPath, constants.exportsFilename); - fs.removeSync(targetFilePath); + [constants.exportsJSFilename, constants.exportsJSONFilename].forEach((filename) => { + const filepath = path.join(srcDirPath, filename); + if (fs.existsSync(filepath)) { + fs.removeSync(filepath); + } + }); } // eslint-disable-next-line spellcheck/spell-checker if (!fs.existsSync(path.join(projectPath, '.graphqlconfig.yml'))) return; @@ -275,8 +279,7 @@ async function getCurrentAWSExports(context) { const projectPath = exeInfo?.localEnvInfo?.projectPath || amplify.getEnvInfo().projectPath; const { config: frontendConfig } = exeInfo?.projectConfig?.[constants.Label] || amplify.getProjectConfig()[constants.Label]; const srcDirPath = path.join(projectPath, frontendConfig.SourceDir); - - const targetFilePath = path.join(srcDirPath, constants.exportsFilename); + const targetFilePath = path.join(srcDirPath, constants.exportsJSFilename); let awsExports = {}; if (fs.existsSync(targetFilePath)) { @@ -314,8 +317,11 @@ async function generateAWSExportsFile(context, configOutput) { fs.ensureDirSync(srcDirPath); - const targetFilePath = path.join(srcDirPath, constants.exportsFilename); - await generateAwsExportsAtPath(context, targetFilePath, configOutput); + const pathToAwsExportsJS = path.join(srcDirPath, constants.exportsJSFilename); + const pathToAmplifyConfigurationJSON = path.join(srcDirPath, constants.exportsJSONFilename); + + context.amplify.writeObjectAsJson(pathToAmplifyConfigurationJSON, configOutput, true); + await generateAwsExportsAtPath(context, pathToAwsExportsJS, configOutput); } async function generateAwsExportsAtPath(context, targetFilePath, configOutput) { diff --git a/yarn.lock b/yarn.lock index ee3e3f93ad7..22f2f6d54b8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14031,6 +14031,8 @@ __metadata: "@aws-sdk/client-dynamodb": ^3.303.0 "@aws-sdk/client-s3": ^3.303.0 "@aws-sdk/client-ssm": ^3.303.0 + "@babel/core": ^7.10.5 + "@babel/plugin-transform-modules-commonjs": 7.10.4 "@types/body-parser": ^1.19.2 "@types/express": ^4.17.3 "@types/lodash": ^4.14.149