From 98d6b79adbc7d31794ee82641176a6e180f4d1f4 Mon Sep 17 00:00:00 2001 From: Kamil Sobol Date: Tue, 2 Jan 2024 14:45:24 -0800 Subject: [PATCH 1/3] fix: limit query parameter parsing in auth admin api --- codebuild_specs/e2e_workflow_generated.yml | 613 +++++++++--------- codebuild_specs/wait_for_ids.json | 104 +-- .../resources/adminAuth/admin-auth-app.js | 44 +- .../amplify-e2e-core/src/utils/auth-utils.ts | 8 +- .../src/__tests__/auth/auth-admin-api.test.ts | 177 +++++ 5 files changed, 553 insertions(+), 393 deletions(-) create mode 100644 packages/amplify-e2e-tests/src/__tests__/auth/auth-admin-api.test.ts diff --git a/codebuild_specs/e2e_workflow_generated.yml b/codebuild_specs/e2e_workflow_generated.yml index dfbd8d2984e..08a58b34a8f 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: us-west-2 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-southeast-1 + CLI_REGION: us-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: us-east-2 + CLI_REGION: us-west-2 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 @@ -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: us-west-2 + CLI_REGION: ap-northeast-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: eu-central-1 + CLI_REGION: us-west-2 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: ap-southeast-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: us-east-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: eu-west-2 + CLI_REGION: us-west-2 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-northeast-1 + CLI_REGION: eu-central-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: ap-southeast-2 + CLI_REGION: us-east-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: us-east-1 + CLI_REGION: ap-northeast-1 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: eu-central-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: us-east-1 + CLI_REGION: eu-central-1 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: eu-west-2 + CLI_REGION: eu-central-1 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: eu-west-2 + CLI_REGION: us-east-2 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: eu-central-1 + CLI_REGION: eu-west-2 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-west-2 + CLI_REGION: ap-northeast-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: eu-central-1 + 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: us-east-2 + CLI_REGION: eu-west-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-southeast-1 + CLI_REGION: us-west-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: eu-west-2 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: 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: ap-southeast-2 + CLI_REGION: eu-central-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: us-west-2 + CLI_REGION: ap-northeast-1 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: eu-central-1 + CLI_REGION: eu-west-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: us-east-1 + CLI_REGION: ap-northeast-1 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-1 + CLI_REGION: us-west-2 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: ap-southeast-2 + CLI_REGION: eu-west-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-east-2 + CLI_REGION: eu-west-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: eu-west-2 + CLI_REGION: ap-northeast-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-west-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: us-east-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-1 + CLI_REGION: ap-northeast-1 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: ap-southeast-2 + CLI_REGION: eu-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-east-2 + CLI_REGION: eu-central-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: us-west-2 + CLI_REGION: ap-northeast-1 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: eu-west-2 + CLI_REGION: ap-southeast-1 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: eu-central-1 + CLI_REGION: ap-southeast-1 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: us-west-2 + CLI_REGION: ap-southeast-2 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-2 + 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-2 + CLI_REGION: eu-west-2 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: us-east-1 + CLI_REGION: ap-northeast-1 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: ap-southeast-1 + CLI_REGION: ap-northeast-1 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: ap-southeast-1 + 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: us-east-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-west-2 + CLI_REGION: ap-southeast-1 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: ap-northeast-1 + CLI_REGION: ap-southeast-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: eu-west-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_api_2b_api_6c_api_9a @@ -577,7 +577,7 @@ 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: us-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_auth_12_auth_2g_auth_2h @@ -585,240 +585,239 @@ 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: eu-central-1 + CLI_REGION: us-west-2 depend-on: - upb - - identifier: l_auth_5g_hosted_ui_user_groups_s3_access + - identifier: l_auth_5g_auth_admin_api_hosted_ui 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: ap-southeast-2 + TEST_SUITE: src/__tests__/auth_5g.test.ts|src/__tests__/auth/auth-admin-api.test.ts|src/__tests__/auth/hosted-ui.test.ts + CLI_REGION: us-east-1 depend-on: - upb - - identifier: l_user_groups_js_frontend_config_build_function + - identifier: l_user_groups_s3_access_user_groups_js_frontend_config buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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: ap-southeast-2 + TEST_SUITE: src/__tests__/auth/user-groups-s3-access.test.ts|src/__tests__/auth/user-groups.test.ts|src/__tests__/aws-exports/js-frontend-config.test.ts + CLI_REGION: us-east-1 depend-on: - upb - - identifier: l_custom_resource_with_storage_dynamodb_simulator_export_pull_c + - identifier: l_build_function_custom_resource_with_storage_dynamodb_simulator buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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 + TEST_SUITE: src/__tests__/build-function.test.ts|src/__tests__/custom-resource-with-storage.test.ts|src/__tests__/dynamodb-simulator/dynamodb-simulator.test.ts CLI_REGION: us-west-2 depend-on: - upb - - identifier: l_function_12_function_13_function_14 + - identifier: l_export_pull_c_function_12_function_13 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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 + 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: - upb - - identifier: l_function_15_function_2d_general_config_headless_init + - identifier: l_function_14_function_15_function_2d buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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: eu-central-1 + TEST_SUITE: src/__tests__/function_14.test.ts|src/__tests__/function_15.test.ts|src/__tests__/function_2d.test.ts + CLI_REGION: us-east-1 depend-on: - upb - - identifier: l_help_hooks_c_init_force_push + - identifier: l_general_config_headless_init_help_hooks_c buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/help.test.ts|src/__tests__/hooks-c.test.ts|src/__tests__/init-force-push.test.ts - CLI_REGION: ap-southeast-2 + TEST_SUITE: src/__tests__/general-config/general-config-headless-init.test.ts|src/__tests__/help.test.ts|src/__tests__/hooks-c.test.ts + CLI_REGION: eu-west-2 depend-on: - upb - - identifier: l_interactions_1_interactions_2_minify_cloudformation + - identifier: l_init_force_push_interactions_1_interactions_2 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/interactions-1.test.ts|src/__tests__/interactions-2.test.ts|src/__tests__/minify-cloudformation.test.ts + TEST_SUITE: src/__tests__/init-force-push.test.ts|src/__tests__/interactions-1.test.ts|src/__tests__/interactions-2.test.ts CLI_REGION: us-west-2 depend-on: - upb - - identifier: l_notifications_multi_env_notifications_sms_update_opensearch_simulator + - identifier: l_minify_cloudformation_notifications_multi_env_notifications_sms_update buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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: ap-southeast-2 + TEST_SUITE: src/__tests__/minify-cloudformation.test.ts|src/__tests__/notifications-multi-env.test.ts|src/__tests__/notifications-sms-update.test.ts + CLI_REGION: us-west-2 depend-on: - upb - - identifier: l_parameter_store_1_parameter_store_2_android_analytics_pinpoint_config + - identifier: l_opensearch_simulator_parameter_store_1_parameter_store_2 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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: ap-southeast-1 + TEST_SUITE: src/__tests__/opensearch-simulator/opensearch-simulator.test.ts|src/__tests__/parameter-store-1.test.ts|src/__tests__/parameter-store-2.test.ts + CLI_REGION: eu-west-2 depend-on: - upb - - identifier: l_android_notifications_pinpoint_config_flutter_analytics_pinpoint_config_flutter_notifications_pinpoint_config + - identifier: l_android_analytics_pinpoint_config_android_notifications_pinpoint_config_flutter_analytics_pinpoint_config buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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 + TEST_SUITE: src/__tests__/pinpoint/android-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/android-notifications-pinpoint-config.test.ts|src/__tests__/pinpoint/flutter-analytics-pinpoint-config.test.ts CLI_REGION: eu-central-1 depend-on: - upb - - identifier: l_ios_analytics_pinpoint_config_ios_notifications_pinpoint_config_javascript_analytics_pinpoint_config + - identifier: l_flutter_notifications_pinpoint_config_ios_analytics_pinpoint_config_ios_notifications_pinpoint_config buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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 + TEST_SUITE: src/__tests__/pinpoint/flutter-notifications-pinpoint-config.test.ts|src/__tests__/pinpoint/ios-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/ios-notifications-pinpoint-config.test.ts + CLI_REGION: ap-southeast-2 depend-on: - upb - - identifier: l_javascript_notifications_pinpoint_config_pr_previews_multi_env_1_pull_2 + - identifier: l_javascript_analytics_pinpoint_config_javascript_notifications_pinpoint_config_pr_previews_multi_env_1 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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-2 + TEST_SUITE: src/__tests__/pinpoint/javascript-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/javascript-notifications-pinpoint-config.test.ts|src/__tests__/pr-previews-multi-env-1.test.ts + CLI_REGION: us-east-1 depend-on: - upb - - identifier: l_push_smoketest_ios_smoketest + - identifier: l_pull_2_push_smoketest_ios buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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-2 + TEST_SUITE: src/__tests__/pull-2.test.ts|src/__tests__/push.test.ts|src/__tests__/smoke-tests/smoketest-ios.test.ts + CLI_REGION: ap-southeast-1 depend-on: - upb - - identifier: l_S3server_api_8_function_8 + - identifier: l_smoketest_S3server_api_8 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/storage-simulator/S3server.test.ts|src/__tests__/api_8.test.ts|src/__tests__/function_8.test.ts - CLI_REGION: us-east-1 + TEST_SUITE: src/__tests__/smoke-tests/smoketest.test.ts|src/__tests__/storage-simulator/S3server.test.ts|src/__tests__/api_8.test.ts + CLI_REGION: eu-west-2 depend-on: - upb - - identifier: l_schema_iterative_update_locking_api_lambda_auth_2_layer_2 + - identifier: l_function_8_schema_iterative_update_locking_api_lambda_auth_2 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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-northeast-1 + TEST_SUITE: src/__tests__/function_8.test.ts|src/__tests__/schema-iterative-update-locking.test.ts|src/__tests__/graphql-v2/api_lambda_auth_2.test.ts + CLI_REGION: eu-west-2 depend-on: - upb - - identifier: l_schema_auth_13_function_5_schema_iterative_update_1 + - identifier: l_layer_2_schema_auth_13_function_5 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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 + TEST_SUITE: src/__tests__/layer-2.test.ts|src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts + CLI_REGION: us-east-2 depend-on: - upb - - identifier: l_auth_6_function_2a_schema_connection_2 + - identifier: l_schema_iterative_update_1_auth_6_function_2a buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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-2 + TEST_SUITE: src/__tests__/schema-iterative-update-1.test.ts|src/__tests__/auth_6.test.ts|src/__tests__/function_2a.test.ts + CLI_REGION: ap-southeast-1 depend-on: - upb - - identifier: l_schema_function_1_api_9b_custom_policies_container + - identifier: l_schema_connection_2_schema_function_1_api_9b buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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 + TEST_SUITE: src/__tests__/schema-connection-2.test.ts|src/__tests__/schema-function-1.test.ts|src/__tests__/api_9b.test.ts + CLI_REGION: us-west-2 depend-on: - upb - - identifier: l_function_9b_schema_iterative_update_2_storage_1a + - identifier: l_custom_policies_container_function_9b_schema_iterative_update_2 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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-1 + TEST_SUITE: src/__tests__/custom_policies_container.test.ts|src/__tests__/function_9b.test.ts|src/__tests__/schema-iterative-update-2.test.ts + CLI_REGION: ap-northeast-1 depend-on: - upb - - identifier: l_storage_1b_function_11_function_2b + - identifier: l_storage_1a_storage_1b_function_11 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 + TEST_SUITE: src/__tests__/storage-1a.test.ts|src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts CLI_REGION: us-east-2 depend-on: - upb - - identifier: l_function_7_api_connection_migration2_api_4 + - identifier: l_function_2b_function_7_api_connection_migration2 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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 + TEST_SUITE: src/__tests__/function_2b.test.ts|src/__tests__/function_7.test.ts|src/__tests__/migration/api.connection.migration2.test.ts + CLI_REGION: us-east-2 depend-on: - upb - - identifier: l_containers_api_secrets_storage_4_schema_auth_10 + - identifier: l_api_4_containers_api_secrets_storage_4 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/containers-api-secrets.test.ts|src/__tests__/storage-4.test.ts|src/__tests__/schema-auth-10.test.ts + TEST_SUITE: src/__tests__/api_4.test.ts|src/__tests__/containers-api-secrets.test.ts|src/__tests__/storage-4.test.ts CLI_REGION: us-east-2 depend-on: - upb - - identifier: l_geo_multi_env_searchable_datastore_resolvers + - identifier: l_schema_auth_10_geo_multi_env_searchable_datastore buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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-1 + 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 depend-on: - upb - - identifier: l_schema_key_api_5_apigw + - identifier: l_resolvers_schema_key_api_5 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/schema-key.test.ts|src/__tests__/api_5.test.ts|src/__tests__/apigw.test.ts - CLI_REGION: us-east-2 + TEST_SUITE: src/__tests__/resolvers.test.ts|src/__tests__/schema-key.test.ts|src/__tests__/api_5.test.ts + CLI_REGION: ap-southeast-2 depend-on: - upb - - identifier: l_api_lambda_auth_1_api_key_migration2_schema_searchable + - identifier: l_apigw_api_lambda_auth_1_api_key_migration2 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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 + 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-east-1 depend-on: - upb - - identifier: l_api_key_migration1_schema_auth_14_api_3 + - identifier: l_schema_searchable_api_key_migration1_schema_auth_14 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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 + 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: ap-southeast-2 depend-on: - upb - - identifier: l_api_6b_api_1_layer_1 + - identifier: l_api_3_api_6b_api_1 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/api_6b.test.ts|src/__tests__/api_1.test.ts|src/__tests__/layer-1.test.ts - CLI_REGION: ap-southeast-1 + TEST_SUITE: src/__tests__/api_3.test.ts|src/__tests__/api_6b.test.ts|src/__tests__/api_1.test.ts + CLI_REGION: ap-southeast-2 depend-on: - upb - - identifier: l_api_key_migration4_schema_iterative_update_4_function_1 + - identifier: l_layer_1_api_key_migration4_schema_iterative_update_4 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - 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-west-2 + 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: us-west-2 depend-on: - upb - - identifier: l_storage_5 + - identifier: l_function_1_storage_5 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/storage-5.test.ts - CLI_REGION: eu-central-1 + TEST_SUITE: src/__tests__/function_1.test.ts|src/__tests__/storage-5.test.ts + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_datastore_modelgen @@ -827,7 +826,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/datastore-modelgen.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-1 DISABLE_COVERAGE: 1 depend-on: - upb @@ -837,7 +836,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/amplify-app.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-2 DISABLE_COVERAGE: 1 depend-on: - upb @@ -847,7 +846,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 @@ -865,7 +864,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/uibuilder.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_geo_remove_3 @@ -874,7 +873,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-remove-3.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_geo_add_f @@ -883,7 +882,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-add-f.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_geo_add_e @@ -901,7 +900,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_2c.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_env_3 @@ -919,7 +918,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-remove-2.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_notifications_in_app_messaging @@ -928,7 +927,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_import_auth_2a @@ -937,7 +936,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_2a.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_import_auth_1a @@ -946,7 +945,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_1a.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_import_auth_2b @@ -955,7 +954,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 @@ -964,7 +963,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_2a.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_import_s3_2c @@ -973,7 +972,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_2c.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_import_auth_1b @@ -982,7 +981,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_1b.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_schema_auth_11_a @@ -1000,7 +999,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-update-1.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_geo_update_2 @@ -1009,7 +1008,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-update-2.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_import_s3_3 @@ -1018,7 +1017,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_3.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_import_dynamodb_2b @@ -1027,7 +1026,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_2b.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_smoketest_amplify_app @@ -1036,7 +1035,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/smoke-tests/smoketest-amplify-app.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 DISABLE_COVERAGE: 1 depend-on: - upb @@ -1046,7 +1045,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/hostingPROD.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_import_s3_2b @@ -1055,7 +1054,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_2b.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_containers_api_1 @@ -1064,7 +1063,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_schema_auth_15 @@ -1073,7 +1072,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/schema-auth-15.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_schema_connection_1 @@ -1082,7 +1081,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/schema-connection-1.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_import_auth_3 @@ -1091,7 +1090,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_3.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_import_dynamodb_2a @@ -1100,7 +1099,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_2a.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_containers_api_2 @@ -1109,7 +1108,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/containers-api-2.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_import_s3_1 @@ -1118,7 +1117,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-east-1 USE_PARENT_ACCOUNT: 1 depend-on: - upb @@ -1128,7 +1127,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/transformer-migrations/searchable-migration.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-west-2 USE_PARENT_ACCOUNT: 1 depend-on: - upb @@ -1147,7 +1146,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_1.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-west-2 USE_PARENT_ACCOUNT: 1 depend-on: - upb @@ -1158,7 +1157,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: ap-southeast-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1169,7 +1168,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: us-west-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1180,7 +1179,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-east-2 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1191,7 +1190,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-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1202,7 +1201,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-east-1 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1224,7 +1223,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: us-east-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1235,7 +1234,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: eu-central-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1246,7 +1245,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: us-west-2 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1257,7 +1256,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-northeast-1 depend-on: - build_windows - upb @@ -1290,7 +1289,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: ap-southeast-1 depend-on: - build_windows - upb @@ -1301,7 +1300,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: eu-west-2 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1312,7 +1311,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 @@ -1323,7 +1322,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: us-east-1 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1334,7 +1333,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: us-west-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1345,7 +1344,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: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1356,7 +1355,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: us-west-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1367,7 +1366,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: ap-southeast-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1389,7 +1388,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: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1400,7 +1399,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: us-east-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1422,7 +1421,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: us-east-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1433,7 +1432,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-southeast-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1444,7 +1443,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: us-west-2 depend-on: - build_windows - upb @@ -1455,7 +1454,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: us-east-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1466,7 +1465,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 @@ -1477,7 +1476,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: ap-southeast-2 depend-on: - build_windows - upb @@ -1488,7 +1487,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-west-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1499,7 +1498,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: ap-southeast-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1510,7 +1509,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-2b.test.ts|src/__tests__/schema-auth-6c.test.ts|src/__tests__/schema-auth-6d.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1521,7 +1520,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-southeast-2 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1532,7 +1531,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: ap-northeast-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1554,7 +1553,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-west-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1565,7 +1564,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: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1576,7 +1575,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-2 depend-on: - build_windows - upb @@ -1587,7 +1586,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: us-east-2 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1609,7 +1608,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: ap-southeast-1 depend-on: - build_windows - upb @@ -1620,7 +1619,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: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1631,7 +1630,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-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1642,7 +1641,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-northeast-1 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1653,7 +1652,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: us-east-2 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1664,7 +1663,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: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1675,7 +1674,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-west-2 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1686,7 +1685,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: us-west-2 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1697,7 +1696,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: us-east-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1708,249 +1707,249 @@ 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-east-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb - - identifier: w_hosted_ui_user_groups_s3_access_user_groups + - identifier: w_auth_admin_api_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: ap-southeast-1 + TEST_SUITE: src/__tests__/auth/auth-admin-api.test.ts|src/__tests__/auth/hosted-ui.test.ts|src/__tests__/auth/user-groups-s3-access.test.ts + CLI_REGION: us-east-1 depend-on: - build_windows - upb - - identifier: w_js_frontend_config_build_function_dynamodb_simulator + - identifier: w_user_groups_js_frontend_config_build_function buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - 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: ap-northeast-1 + 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: ap-southeast-2 depend-on: - build_windows - upb - - identifier: w_export_pull_c_function_12_function_13 + - identifier: w_dynamodb_simulator_export_pull_c_function_12 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/export-pull-c.test.ts|src/__tests__/function_12.test.ts|src/__tests__/function_13.test.ts - CLI_REGION: us-east-2 + 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: eu-west-2 depend-on: - build_windows - upb - - identifier: w_function_14_function_2d_general_config_headless_init + - identifier: w_function_13_function_14_function_2d buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - 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: us-west-2 + TEST_SUITE: src/__tests__/function_13.test.ts|src/__tests__/function_14.test.ts|src/__tests__/function_2d.test.ts + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb - - identifier: w_help_init_force_push_interactions_1 + - identifier: w_general_config_headless_init_help_init_force_push buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - 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 + TEST_SUITE: src/__tests__/general-config/general-config-headless-init.test.ts|src/__tests__/help.test.ts|src/__tests__/init-force-push.test.ts + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb - - identifier: w_interactions_2_minify_cloudformation_notifications_multi_env + - identifier: w_interactions_1_interactions_2_minify_cloudformation buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 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: - build_windows - upb - - identifier: w_notifications_sms_update_parameter_store_1_parameter_store_2 + - identifier: w_notifications_multi_env_notifications_sms_update_parameter_store_1 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - 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: eu-west-2 + TEST_SUITE: src/__tests__/notifications-multi-env.test.ts|src/__tests__/notifications-sms-update.test.ts|src/__tests__/parameter-store-1.test.ts + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb - - identifier: w_push_smoketest_ios_smoketest + - identifier: w_parameter_store_2_push_smoketest_ios buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - 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 + TEST_SUITE: src/__tests__/parameter-store-2.test.ts|src/__tests__/push.test.ts|src/__tests__/smoke-tests/smoketest-ios.test.ts + CLI_REGION: us-east-1 depend-on: - build_windows - upb - - identifier: w_api_8_schema_iterative_update_locking_api_lambda_auth_2 + - identifier: w_smoketest_api_8_schema_iterative_update_locking buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - 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 + TEST_SUITE: src/__tests__/smoke-tests/smoketest.test.ts|src/__tests__/api_8.test.ts|src/__tests__/schema-iterative-update-locking.test.ts + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb - - identifier: w_schema_auth_13_function_5_schema_iterative_update_1 + - identifier: w_api_lambda_auth_2_schema_auth_13_function_5 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-13.test.ts|src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts - CLI_REGION: us-west-2 + TEST_SUITE: src/__tests__/graphql-v2/api_lambda_auth_2.test.ts|src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb - - identifier: w_auth_6_function_2a_schema_connection_2 + - identifier: w_schema_iterative_update_1_auth_6_function_2a buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/auth_6.test.ts|src/__tests__/function_2a.test.ts|src/__tests__/schema-connection-2.test.ts - CLI_REGION: us-west-2 + TEST_SUITE: src/__tests__/schema-iterative-update-1.test.ts|src/__tests__/auth_6.test.ts|src/__tests__/function_2a.test.ts + CLI_REGION: us-east-1 depend-on: - build_windows - upb - - identifier: w_schema_function_1_api_9b_custom_policies_container + - identifier: w_schema_connection_2_schema_function_1_api_9b buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/schema-function-1.test.ts|src/__tests__/api_9b.test.ts|src/__tests__/custom_policies_container.test.ts - CLI_REGION: us-east-2 + TEST_SUITE: src/__tests__/schema-connection-2.test.ts|src/__tests__/schema-function-1.test.ts|src/__tests__/api_9b.test.ts + CLI_REGION: us-east-1 depend-on: - build_windows - upb - - identifier: w_function_9b_schema_iterative_update_2_storage_1a + - identifier: w_custom_policies_container_function_9b_schema_iterative_update_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_9b.test.ts|src/__tests__/schema-iterative-update-2.test.ts|src/__tests__/storage-1a.test.ts - CLI_REGION: eu-central-1 + TEST_SUITE: src/__tests__/custom_policies_container.test.ts|src/__tests__/function_9b.test.ts|src/__tests__/schema-iterative-update-2.test.ts + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb - - identifier: w_storage_1b_function_11_function_2b + - identifier: w_storage_1a_storage_1b_function_11 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts + TEST_SUITE: src/__tests__/storage-1a.test.ts|src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts CLI_REGION: eu-central-1 depend-on: - build_windows - upb - - identifier: w_api_connection_migration2_api_4_containers_api_secrets + - identifier: w_function_2b_api_connection_migration2_api_4 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/migration/api.connection.migration2.test.ts|src/__tests__/api_4.test.ts|src/__tests__/containers-api-secrets.test.ts + TEST_SUITE: src/__tests__/function_2b.test.ts|src/__tests__/migration/api.connection.migration2.test.ts|src/__tests__/api_4.test.ts CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb - - identifier: w_storage_4_schema_auth_10_geo_multi_env + - identifier: w_containers_api_secrets_storage_4_schema_auth_10 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - TEST_SUITE: src/__tests__/storage-4.test.ts|src/__tests__/schema-auth-10.test.ts|src/__tests__/geo-multi-env.test.ts + TEST_SUITE: src/__tests__/containers-api-secrets.test.ts|src/__tests__/storage-4.test.ts|src/__tests__/schema-auth-10.test.ts CLI_REGION: eu-central-1 depend-on: - build_windows - upb - - identifier: w_searchable_datastore_resolvers_schema_key + - identifier: w_geo_multi_env_searchable_datastore_resolvers buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 variables: - 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 + TEST_SUITE: src/__tests__/geo-multi-env.test.ts|src/__tests__/graphql-v2/searchable-datastore.test.ts|src/__tests__/resolvers.test.ts + CLI_REGION: eu-west-2 depend-on: - build_windows - upb - - identifier: w_api_5_apigw_api_lambda_auth_1 + - identifier: w_schema_key_api_5_apigw buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 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: ap-southeast-1 + TEST_SUITE: src/__tests__/schema-key.test.ts|src/__tests__/api_5.test.ts|src/__tests__/apigw.test.ts + CLI_REGION: us-east-2 depend-on: - build_windows - upb - - identifier: w_api_key_migration2_schema_searchable_api_key_migration1 + - identifier: w_api_lambda_auth_1_api_key_migration2_schema_searchable buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 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: eu-west-2 + 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: us-east-1 depend-on: - build_windows - upb - - identifier: w_schema_auth_14_api_3_api_6b + - identifier: w_api_key_migration1_schema_auth_14_api_3 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-14.test.ts|src/__tests__/api_3.test.ts|src/__tests__/api_6b.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-southeast-1 depend-on: - build_windows - upb - - identifier: w_api_1_layer_1_api_key_migration4 + - identifier: w_api_6b_api_1_layer_1 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER image: $WINDOWS_IMAGE_2019 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__/api_6b.test.ts|src/__tests__/api_1.test.ts|src/__tests__/layer-1.test.ts + CLI_REGION: eu-west-2 depend-on: - build_windows - upb - - identifier: w_schema_iterative_update_4_function_1 + - identifier: w_api_key_migration4_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__/schema-iterative-update-4.test.ts|src/__tests__/function_1.test.ts - CLI_REGION: eu-central-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: us-east-2 depend-on: - build_windows - upb @@ -1961,7 +1960,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_2c.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1972,7 +1971,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_2e.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1983,7 +1982,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/env-3.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1994,7 +1993,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -2005,7 +2004,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-11-a.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -2016,7 +2015,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/import_s3_3.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -2027,7 +2026,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/hostingPROD.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -2038,7 +2037,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -2049,7 +2048,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-15.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -2060,7 +2059,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-connection-1.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -2071,7 +2070,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/containers-api-2.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -2082,7 +2081,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/import_s3_1.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-northeast-1 USE_PARENT_ACCOUNT: 1 depend-on: - build_windows @@ -2094,7 +2093,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/transformer-migrations/searchable-migration.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-2 USE_PARENT_ACCOUNT: 1 depend-on: - build_windows @@ -2106,7 +2105,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/geo-remove-1.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -2128,7 +2127,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: ap-southeast-1 depend-on: - upb - identifier: l_api_key_migration_v8 @@ -2137,7 +2136,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests/transformer_migration/api.key.migration.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_notifications_migration_v8 @@ -2155,7 +2154,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests/transformer_migration/api.key.migration-2.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_notifications_migration_2_v8 @@ -2164,7 +2163,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-2.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_function_migration_update_v8 @@ -2173,7 +2172,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/update_tests/function_migration_update.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_notifications_migration_3_v8 @@ -2182,7 +2181,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-3.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_scaffold_v10 @@ -2191,7 +2190,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/scaffold.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_api_graphql_v2_migration_v10 @@ -2200,7 +2199,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/api-graphql-v2.migration.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_api_rest_basic_migration_v10 @@ -2209,7 +2208,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-basic.migration.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_api_rest_lambda_migration_v10 @@ -2218,7 +2217,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-lambda.migration.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_api_rest_serverless_migration_v10 @@ -2227,7 +2226,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-2 depend-on: - upb - identifier: l_auth_add_all_migration_v10 @@ -2236,7 +2235,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/auth-add-all.migration.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_auth_override_migration_v10 @@ -2245,7 +2244,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/auth-override.migration.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_custom_stack_migration_v10 @@ -2254,7 +2253,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/custom-stack.migration.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_geo_migration_v10 @@ -2263,7 +2262,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-1 depend-on: - upb - identifier: l_git_clone_migration_tests_v10 @@ -2272,7 +2271,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/git-clone-migration-tests.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_pinpoint_region_migration_v10 @@ -2299,7 +2298,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-northeast-1 depend-on: - upb - identifier: l_auth_hosted_ui_lambda_migration_1_v12 @@ -2317,7 +2316,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-hosted-ui-lambda-migration-2.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_auth_lambda_callout_migration_rollback_v12 @@ -2326,7 +2325,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-lambda-callout-migration-rollback.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_auth_lambda_callout_migration_v12 @@ -2335,7 +2334,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-lambda-callout-migration.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_auth_oauth_lambda_migration_v12 @@ -2344,7 +2343,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-oauth-lambda-migration.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_auth_migration_v12 diff --git a/codebuild_specs/wait_for_ids.json b/codebuild_specs/wait_for_ids.json index be5122cd196..eeb7202b035 100644 --- a/codebuild_specs/wait_for_ids.json +++ b/codebuild_specs/wait_for_ids.json @@ -1,22 +1,20 @@ [ - "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_android_notifications_pinpoint_config_flutter_analytics_pinpoint_config_flutter_notifications_pinpoint_config", + "l_android_analytics_pinpoint_config_android_notifications_pinpoint_config_flutter_analytics_pinpoint_config", "l_api_2b_api_6c_api_9a", + "l_api_3_api_6b_api_1", + "l_api_4_containers_api_secrets_storage_4", "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_graphql_v2_migration_v10", - "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_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_apigw_api_lambda_auth_1_api_key_migration2", "l_auth_12_auth_2g_auth_2h", "l_auth_1a_auth_trigger_custom_policies_function", "l_auth_1b_delete_geo_add_c", @@ -28,8 +26,7 @@ "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_5g_auth_admin_api_hosted_ui", "l_auth_7a_auth_8c_feature_flags", "l_auth_9_custom_resources_env_5", "l_auth_add_all_migration_v10", @@ -42,26 +39,29 @@ "l_auth_migration_v12", "l_auth_oauth_lambda_migration_v12", "l_auth_override_migration_v10", + "l_build_function_custom_resource_with_storage_dynamodb_simulator", "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_policies_container_function_9b_schema_iterative_update_2", "l_custom_stack_migration_v10", "l_datastore_modelgen", "l_diagnose_hooks_a_mock_api", "l_env_1_geo_add_a_init_a", "l_env_3", "l_env_4_frontend_config_drift_schema_auth_4d", + "l_export_pull_c_function_12_function_13", + "l_flutter_notifications_pinpoint_config_ios_analytics_pinpoint_config_ios_notifications_pinpoint_config", "l_function_10_function_9c_function_permissions", - "l_function_12_function_13_function_14", - "l_function_15_function_2d_general_config_headless_init", + "l_function_14_function_15_function_2d", + "l_function_1_storage_5", + "l_function_2b_function_7_api_connection_migration2", "l_function_2c_function_3b_function_4", "l_function_3a_init_special_case_http_migration", "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_8_schema_iterative_update_locking_api_lambda_auth_2", "l_function_migration_update_v8", + "l_general_config_headless_init_help_hooks_c", "l_geo_add_b_s3_sse_schema_auth_4a", "l_geo_add_d_geo_import_3_hosting", "l_geo_add_e", @@ -70,7 +70,6 @@ "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", @@ -78,7 +77,6 @@ "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_hostingPROD", "l_iam_permissions_boundary_node_function_notifications_sms", @@ -97,11 +95,13 @@ "l_import_s3_2c", "l_import_s3_3", "l_init_f_auth_5d_configure_project", - "l_interactions_1_interactions_2_minify_cloudformation", + "l_init_force_push_interactions_1_interactions_2", "l_interactions_schema_model_a_tags", - "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_javascript_analytics_pinpoint_config_javascript_notifications_pinpoint_config_pr_previews_multi_env_1", + "l_layer_1_api_key_migration4_schema_iterative_update_4", + "l_layer_2_schema_auth_13_function_5", "l_layer_3_api_connection_migration_api_key_migration3", + "l_minify_cloudformation_notifications_multi_env_notifications_sms_update", "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", "l_notifications_fcm_notifications_in_app_messaging_env_2_with_babel_config", @@ -110,16 +110,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_parameter_store_1_parameter_store_2_android_analytics_pinpoint_config", + "l_opensearch_simulator_parameter_store_1_parameter_store_2", "l_pinpoint_region_migration_v10", "l_predictions_schema_auth_11_b_schema_auth_1b", - "l_push_smoketest_ios_smoketest", + "l_pull_2_push_smoketest_ios", + "l_resolvers_schema_key_api_5", "l_scaffold_v10", + "l_schema_auth_10_geo_multi_env_searchable_datastore", "l_schema_auth_11_a", "l_schema_auth_12_schema_auth_3_schema_function_2", - "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", @@ -133,30 +133,30 @@ "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_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_connection_2_schema_function_1_api_9b", + "l_schema_iterative_update_1_auth_6_function_2a", "l_schema_model_b_schema_model_d_auth_5f", "l_schema_predictions_model_migration_auth_3c", + "l_schema_searchable_api_key_migration1_schema_auth_14", "l_searchable_migration", + "l_smoketest_S3server_api_8", "l_smoketest_amplify_app", - "l_storage_1b_function_11_function_2b", - "l_storage_5", + "l_storage_1a_storage_1b_function_11", "l_storage_migration_v10", "l_studio_modelgen_custom_transformers_notifications_in_app_messaging_env_1", "l_uibuilder", - "l_user_groups_js_frontend_config_build_function", + "l_user_groups_s3_access_user_groups_js_frontend_config", "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_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_6b_api_1_layer_1", "w_api_9a_auth_2h_auth_5g", - "w_api_connection_migration2_api_4_containers_api_secrets", - "w_api_key_migration2_schema_searchable_api_key_migration1", + "w_api_key_migration1_schema_auth_14_api_3", "w_api_key_migration3_predictions_schema_auth_11_b", + "w_api_key_migration4_schema_iterative_update_4_function_1", + "w_api_lambda_auth_1_api_key_migration2_schema_searchable", + "w_api_lambda_auth_2_schema_auth_13_function_5", "w_auth_11_auth_1b_delete", "w_auth_2a_auth_2b_auth_2d", "w_auth_2c", @@ -165,29 +165,31 @@ "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_auth_admin_api_hosted_ui_user_groups_s3_access", "w_configure_project_init_c_layer_4", "w_containers_api_1", "w_containers_api_2", + "w_containers_api_secrets_storage_4_schema_auth_10", + "w_custom_policies_container_function_9b_schema_iterative_update_2", "w_custom_policies_function_storage_2_iam_permissions_boundary", + "w_dynamodb_simulator_export_pull_c_function_12", "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_14_function_2d_general_config_headless_init", + "w_function_13_function_14_function_2d", + "w_function_2b_api_connection_migration2_api_4", "w_function_2c_interactions_schema_model_a", "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_general_config_headless_init_help_init_force_push", "w_geo_add_a_init_a_schema_auth_4c", "w_geo_add_c_geo_add_d_geo_import_3", + "w_geo_multi_env_searchable_datastore_resolvers", "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", @@ -197,20 +199,17 @@ "w_init_d_init_f_auth_5d", "w_init_e_notifications_analytics_compatibility_in_app_2_schema_auth_11_c", "w_init_special_case_http_migration_schema_auth_12", - "w_interactions_2_minify_cloudformation_notifications_multi_env", - "w_js_frontend_config_build_function_dynamodb_simulator", + "w_interactions_1_interactions_2_minify_cloudformation", "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_multi_env_notifications_sms_update_parameter_store_1", "w_notifications_sms_pull_auth_10_container_hosting", - "w_notifications_sms_update_parameter_store_1_parameter_store_2", - "w_push_smoketest_ios_smoketest", + "w_parameter_store_2_push_smoketest_ios", "w_s3_sse_schema_auth_4a_schema_model_b", "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", @@ -222,16 +221,17 @@ "w_schema_auth_8c_auth_3a_auth_3b", "w_schema_auth_9_a_schema_auth_9_c_storage_3", "w_schema_connection_1", + "w_schema_connection_2_schema_function_1_api_9b", "w_schema_data_access_patterns_schema_model_c_schema_predictions", - "w_schema_function_1_api_9b_custom_policies_container", + "w_schema_iterative_update_1_auth_6_function_2a", "w_schema_iterative_update_3_auth_migration_amplify_remove", - "w_schema_iterative_update_4_function_1", + "w_schema_key_api_5_apigw", "w_schema_model_d_auth_5f_env_4", "w_schema_model_e_schema_versioned_auth_1c", - "w_searchable_datastore_resolvers_schema_key", "w_searchable_migration", - "w_storage_1b_function_11_function_2b", - "w_storage_4_schema_auth_10_geo_multi_env", + "w_smoketest_api_8_schema_iterative_update_locking", + "w_storage_1a_storage_1b_function_11", "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_js_frontend_config_build_function" ] diff --git a/packages/amplify-category-auth/resources/adminAuth/admin-auth-app.js b/packages/amplify-category-auth/resources/adminAuth/admin-auth-app.js index 9c3d1ad14d3..fe5c54deb17 100644 --- a/packages/amplify-category-auth/resources/adminAuth/admin-auth-app.js +++ b/packages/amplify-category-auth/resources/adminAuth/admin-auth-app.js @@ -162,14 +162,11 @@ app.get('/getUser', async (req, res, next) => { app.get('/listUsers', async (req, res, next) => { try { - let response; - if (req.query.token) { - response = await listUsers(req.query.limit || 25, req.query.token); - } else if (req.query.limit) { - response = await listUsers((Limit = req.query.limit)); - } else { - response = await listUsers(); + let limit = 25; + if (req.query.limit) { + limit = parseInt(req.query.limit); } + const response = await listUsers(limit, req.query.token); res.status(200).json(response); } catch (err) { next(err); @@ -178,14 +175,11 @@ app.get('/listUsers', async (req, res, next) => { app.get('/listGroups', async (req, res, next) => { try { - let response; - if (req.query.token) { - response = await listGroups(req.query.limit || 25, req.query.token); - } else if (req.query.limit) { - response = await listGroups((Limit = req.query.limit)); - } else { - response = await listGroups(); + let limit = 25; + if (req.query.limit) { + limit = parseInt(req.query.limit); } + const response = await listGroups(limit, req.query.token); res.status(200).json(response); } catch (err) { next(err); @@ -200,14 +194,11 @@ app.get('/listGroupsForUser', async (req, res, next) => { } try { - let response; - if (req.query.token) { - response = await listGroupsForUser(req.query.username, req.query.limit || 25, req.query.token); - } else if (req.query.limit) { - response = await listGroupsForUser(req.query.username, (Limit = req.query.limit)); - } else { - response = await listGroupsForUser(req.query.username); + let limit = 25; + if (req.query.limit) { + limit = parseInt(req.query.limit); } + const response = await listGroupsForUser(req.query.username, limit, req.query.token); res.status(200).json(response); } catch (err) { next(err); @@ -222,14 +213,11 @@ app.get('/listUsersInGroup', async (req, res, next) => { } try { - let response; - if (req.query.token) { - response = await listUsersInGroup(req.query.groupname, req.query.limit || 25, req.query.token); - } else if (req.query.limit) { - response = await listUsersInGroup(req.query.groupname, (Limit = req.query.limit)); - } else { - response = await listUsersInGroup(req.query.groupname); + let limit = 25; + if (req.query.limit) { + limit = parseInt(req.query.limit); } + const response = await listUsersInGroup(req.query.groupname, limit, req.query.token); res.status(200).json(response); } catch (err) { next(err); diff --git a/packages/amplify-e2e-core/src/utils/auth-utils.ts b/packages/amplify-e2e-core/src/utils/auth-utils.ts index 33397da1d69..3cb8153f69b 100644 --- a/packages/amplify-e2e-core/src/utils/auth-utils.ts +++ b/packages/amplify-e2e-core/src/utils/auth-utils.ts @@ -42,12 +42,8 @@ export async function setupUser( } } -export async function addUserToGroup( - cognitoClient: CognitoIdentityServiceProvider, - userPoolId: string, - username: string, - groupName?: string, -): Promise { +export async function addUserToGroup(userPoolId: string, username: string, groupName: string, region?: string): Promise { + const cognitoClient = getConfiguredCognitoClient(region); await cognitoClient .adminAddUserToGroup({ UserPoolId: userPoolId, diff --git a/packages/amplify-e2e-tests/src/__tests__/auth/auth-admin-api.test.ts b/packages/amplify-e2e-tests/src/__tests__/auth/auth-admin-api.test.ts new file mode 100644 index 00000000000..45e16415a30 --- /dev/null +++ b/packages/amplify-e2e-tests/src/__tests__/auth/auth-admin-api.test.ts @@ -0,0 +1,177 @@ +import { + addAuthWithGroupsAndAdminAPI, + addUserToGroup, + amplifyPushAuth, + configureAmplify, + createNewProjectDir, + deleteProject, + deleteProjectDir, + getProjectMeta, + getUserPoolId, + initJSProjectWithProfile, + invokeFunction, + setupUser, +} from '@aws-amplify/amplify-e2e-core'; +import { $TSAny } from '@aws-amplify/amplify-cli-core'; + +describe('auth admin api tests', () => { + let projRoot: string; + let adminLambdaName: string; + let adminLambdaRegion: string; + + const callAdminLambda = async (request: $TSAny): Promise<$TSAny> => { + if (!request.requestContext) { + // Mock authorization necessary for admin API + request.requestContext = { + authorizer: { + claims: { + 'cognito:groups': 'Admins', + }, + }, + }; + } + const lambdaResponse = await invokeFunction(adminLambdaName, JSON.stringify(request), adminLambdaRegion); + return JSON.parse(lambdaResponse.Payload.toString()); + }; + + beforeAll(async () => { + projRoot = await createNewProjectDir('auth'); + await initJSProjectWithProfile(projRoot); + await addAuthWithGroupsAndAdminAPI(projRoot); + await amplifyPushAuth(projRoot); + + const meta = getProjectMeta(projRoot); + const adminLambdaOutputs = Object.keys(meta.function).map((key) => meta.function[key])[0].output; + adminLambdaName = adminLambdaOutputs.Name; + adminLambdaRegion = adminLambdaOutputs.Region; + + const userPoolId = getUserPoolId(projRoot); + await configureAmplify(projRoot); + + for (let i = 0; i < 5; i++) { + const username = `testUser${i}`; + const password = `Password12#${i}`; + await setupUser(userPoolId, username, password, 'Users', adminLambdaRegion); + } + + for (let i = 0; i < 5; i++) { + const username = `testAdminUser${i}`; + const password = `Password12#${i}`; + await setupUser(userPoolId, username, password, 'Admins', adminLambdaRegion); + await addUserToGroup(userPoolId, username, 'Users', adminLambdaRegion); + } + }); + + afterAll(async () => { + await deleteProject(projRoot); + deleteProjectDir(projRoot); + }); + + it('can list groups', async () => { + const request = { + path: '/listGroups', + httpMethod: 'GET', + }; + const response = await callAdminLambda(request); + expect(response.statusCode).toBe(200); + const responseBody = JSON.parse(response.body); + expect(responseBody.Groups.length).toBe(2); + }); + + it('can list groups with limit', async () => { + const request = { + path: '/listGroups', + httpMethod: 'GET', + queryStringParameters: { + limit: '1', + }, + }; + const response = await callAdminLambda(request); + expect(response.statusCode).toBe(200); + const responseBody = JSON.parse(response.body); + expect(responseBody.Groups.length).toBe(1); + }); + + it('can list users', async () => { + const request = { + path: '/listUsers', + httpMethod: 'GET', + }; + const response = await callAdminLambda(request); + expect(response.statusCode).toBe(200); + const responseBody = JSON.parse(response.body); + expect(responseBody.Users.length).toBe(10); + }); + + it('can list users with limit', async () => { + const request = { + path: '/listUsers', + httpMethod: 'GET', + queryStringParameters: { + limit: '1', + }, + }; + const response = await callAdminLambda(request); + expect(response.statusCode).toBe(200); + const responseBody = JSON.parse(response.body); + expect(responseBody.Users.length).toBe(1); + }); + + it('can list users in group', async () => { + const request = { + path: '/listUsersInGroup', + httpMethod: 'GET', + queryStringParameters: { + groupname: 'Admins', + }, + }; + const response = await callAdminLambda(request); + expect(response.statusCode).toBe(200); + const responseBody = JSON.parse(response.body); + expect(responseBody.Users.length).toBe(5); + }); + + it('can list users in group with limit', async () => { + const request = { + path: '/listUsersInGroup', + httpMethod: 'GET', + queryStringParameters: { + limit: '1', + groupname: 'Admins', + }, + }; + const response = await callAdminLambda(request); + expect(response.statusCode).toBe(200); + const responseBody = JSON.parse(response.body); + expect(responseBody.Users.length).toBe(1); + }); + + it('can list groups for user', async () => { + const request = { + path: '/listGroupsForUser', + httpMethod: 'GET', + queryStringParameters: { + username: 'testAdminUser1', + }, + }; + const response = await callAdminLambda(request); + expect(response.statusCode).toBe(200); + const responseBody = JSON.parse(response.body); + expect(responseBody.Groups.length).toBe(2); + }); + + it('can list groups for user with limit', async () => { + const request = { + path: '/listGroupsForUser', + httpMethod: 'GET', + queryStringParameters: { + limit: '1', + username: 'testAdminUser1', + }, + }; + const response = await callAdminLambda(request); + expect(response.statusCode).toBe(200); + const responseBody = JSON.parse(response.body); + expect(responseBody.Groups.length).toBe(1); + }); +}); From b77d567b5827de318350475303e368ffd325ef51 Mon Sep 17 00:00:00 2001 From: Kamil Sobol Date: Tue, 2 Jan 2024 15:52:20 -0800 Subject: [PATCH 2/3] try this --- codebuild_specs/e2e_workflow_base.yml | 9 - codebuild_specs/e2e_workflow_generated.yml | 425 +++++++++--------- codebuild_specs/wait_for_ids.json | 4 +- ...th-admin-api.test.ts => admin-api.test.ts} | 0 4 files changed, 210 insertions(+), 228 deletions(-) rename packages/amplify-e2e-tests/src/__tests__/auth/{auth-admin-api.test.ts => admin-api.test.ts} (100%) diff --git a/codebuild_specs/e2e_workflow_base.yml b/codebuild_specs/e2e_workflow_base.yml index 8ea26066071..1990a238dab 100644 --- a/codebuild_specs/e2e_workflow_base.yml +++ b/codebuild_specs/e2e_workflow_base.yml @@ -7,7 +7,6 @@ env: AWS_REGION: us-east-1 CDK_DEFAULT_REGION: us-east-1 CLI_REGION: us-east-1 - TEST_SUITE: src/__tests__/auth_2b.test.ts AMPLIFY_DIR: '$CODEBUILD_SRC_DIR/out' AMPLIFY_PATH: '$CODEBUILD_SRC_DIR/out/amplify-pkg-linux-x64' @@ -102,14 +101,10 @@ batch: compute-type: BUILD_GENERAL1_LARGE - identifier: amplify_sudo_install_test buildspec: codebuild_specs/amplify_sudo_install_test.yml - env: - compute-type: BUILD_GENERAL1_MEDIUM depend-on: - upb - identifier: amplify_install_test buildspec: codebuild_specs/amplify_install_test.yml - env: - compute-type: BUILD_GENERAL1_MEDIUM depend-on: - upb - identifier: amplify_console_integration_tests @@ -120,14 +115,10 @@ batch: - upb - identifier: amplify_migration_tests_non_multi_env_layers buildspec: codebuild_specs/amplify_migration_tests_non_multi_env_layers.yml - env: - compute-type: BUILD_GENERAL1_MEDIUM depend-on: - upb - identifier: amplify_migration_tests_multi_env_layers buildspec: codebuild_specs/amplify_migration_tests_multi_env_layers.yml - env: - compute-type: BUILD_GENERAL1_MEDIUM depend-on: - upb - identifier: amplify_general_config_tests diff --git a/codebuild_specs/e2e_workflow_generated.yml b/codebuild_specs/e2e_workflow_generated.yml index 08a58b34a8f..477d4de40d6 100644 --- a/codebuild_specs/e2e_workflow_generated.yml +++ b/codebuild_specs/e2e_workflow_generated.yml @@ -8,7 +8,6 @@ env: AWS_REGION: us-east-1 CDK_DEFAULT_REGION: us-east-1 CLI_REGION: us-east-1 - TEST_SUITE: src/__tests__/auth_2b.test.ts AMPLIFY_DIR: $CODEBUILD_SRC_DIR/out AMPLIFY_PATH: $CODEBUILD_SRC_DIR/out/amplify-pkg-linux-x64 batch: @@ -102,14 +101,10 @@ batch: compute-type: BUILD_GENERAL1_LARGE - identifier: amplify_sudo_install_test buildspec: codebuild_specs/amplify_sudo_install_test.yml - env: - compute-type: BUILD_GENERAL1_MEDIUM depend-on: - upb - identifier: amplify_install_test buildspec: codebuild_specs/amplify_install_test.yml - env: - compute-type: BUILD_GENERAL1_MEDIUM depend-on: - upb - identifier: amplify_console_integration_tests @@ -120,14 +115,10 @@ batch: - upb - identifier: amplify_migration_tests_non_multi_env_layers buildspec: codebuild_specs/amplify_migration_tests_non_multi_env_layers.yml - env: - compute-type: BUILD_GENERAL1_MEDIUM depend-on: - upb - identifier: amplify_migration_tests_multi_env_layers buildspec: codebuild_specs/amplify_migration_tests_multi_env_layers.yml - env: - compute-type: BUILD_GENERAL1_MEDIUM depend-on: - upb - identifier: amplify_general_config_tests @@ -145,7 +136,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: us-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js @@ -161,7 +152,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: us-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_auth_2f_notifications_lifecycle_notifications_analytics_compatibility_in_app_1 @@ -169,7 +160,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: eu-central-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_notifications_analytics_compatibility_sms_2_analytics_2_global_sandbox_c @@ -177,7 +168,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: us-east-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_hooks_b_notifications_analytics_compatibility_sms_1_plugin @@ -185,7 +176,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: ap-southeast-2 depend-on: - upb - identifier: l_studio_modelgen_custom_transformers_notifications_in_app_messaging_env_1 @@ -193,7 +184,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: us-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_notifications_sms_pull_pull_auth_10 @@ -201,7 +192,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: ap-southeast-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_container_hosting_init_b_notifications_apns @@ -209,7 +200,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: us-east-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_notifications_fcm_notifications_in_app_messaging_env_2_with_babel_config @@ -217,7 +208,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 +216,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: eu-central-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_init_f_auth_5d_configure_project @@ -233,7 +224,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-east-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_git_clone_attach_init_c_layer_4 @@ -241,7 +232,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-northeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_function_2c_function_3b_function_4 @@ -265,7 +256,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: eu-central-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_function_6_storage_2_export @@ -281,7 +272,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: eu-west-2 depend-on: - upb - identifier: l_schema_auth_4b_schema_model_e_schema_versioned @@ -289,7 +280,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: eu-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_auth_1c_auth_5e_auth_8b @@ -297,7 +288,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: ap-northeast-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_geo_add_b_s3_sse_schema_auth_4a @@ -305,7 +296,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: ap-northeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_schema_model_b_schema_model_d_auth_5f @@ -313,7 +304,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: eu-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_env_4_frontend_config_drift_schema_auth_4d @@ -321,7 +312,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: us-west-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_schema_auth_6a_schema_data_access_patterns_schema_model_c @@ -329,7 +320,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: eu-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_schema_predictions_model_migration_auth_3c @@ -337,7 +328,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 +336,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: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_env_1_geo_add_a_init_a @@ -353,7 +344,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: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_schema_auth_4c_schema_auth_5c_auth_5b @@ -361,7 +352,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-northeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_auth_9_custom_resources_env_5 @@ -369,7 +360,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: eu-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_function_10_function_9c_function_permissions @@ -377,7 +368,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-northeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_geo_import_1a_geo_import_2_global_sandbox_b @@ -385,7 +376,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: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_schema_auth_5d_schema_auth_6b_schema_auth_8c @@ -393,7 +384,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-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_auth_3a_auth_3b_auth_4a @@ -401,7 +392,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-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_auth_7a_auth_8c_feature_flags @@ -409,7 +400,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: eu-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_geo_import_1b_global_sandbox_a_init_e @@ -417,7 +408,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: ap-northeast-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 +416,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: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_schema_auth_6c_schema_auth_6d_schema_auth_7c @@ -433,7 +424,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: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_schema_auth_8a_function_migration_api_10 @@ -441,7 +432,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: ap-northeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_api_7_export_pull_a_function_9a @@ -449,7 +440,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-east-2 depend-on: - upb - identifier: l_geo_headless_api_key_migration5_schema_auth_1a @@ -457,7 +448,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: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_schema_auth_5b_schema_auth_8b_schema_auth_9_a @@ -465,7 +456,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-northeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_schema_auth_9_c_storage_3_auth_11 @@ -473,7 +464,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-1 depend-on: - upb - identifier: l_auth_1b_delete_geo_add_c @@ -481,7 +472,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: ap-southeast-1 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_geo_add_d_geo_import_3_hosting @@ -505,7 +496,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: eu-west-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_schema_auth_2a_schema_auth_7a_schema_auth_7b @@ -513,7 +504,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: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_schema_auth_9_b_schema_iterative_rollback_1_predictions_migration @@ -529,7 +520,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: ap-northeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_function_3a_init_special_case_http_migration @@ -537,7 +528,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-central-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_schema_auth_12_schema_auth_3_schema_function_2 @@ -545,7 +536,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: us-east-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_auth_4b_auth_8a_export_pull_d @@ -553,7 +544,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: ap-southeast-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_schema_auth_5a_schema_iterative_rollback_2_schema_iterative_update_3 @@ -561,7 +552,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: ap-southeast-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_auth_migration_amplify_remove_api_2a @@ -569,7 +560,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: us-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_api_2b_api_6c_api_9a @@ -577,7 +568,7 @@ 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-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_auth_12_auth_2g_auth_2h @@ -585,15 +576,15 @@ 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-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - - identifier: l_auth_5g_auth_admin_api_hosted_ui + - identifier: l_auth_5g_admin_api_hosted_ui buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: - TEST_SUITE: src/__tests__/auth_5g.test.ts|src/__tests__/auth/auth-admin-api.test.ts|src/__tests__/auth/hosted-ui.test.ts - CLI_REGION: us-east-1 + TEST_SUITE: src/__tests__/auth_5g.test.ts|src/__tests__/auth/admin-api.test.ts|src/__tests__/auth/hosted-ui.test.ts + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_user_groups_s3_access_user_groups_js_frontend_config @@ -601,7 +592,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth/user-groups-s3-access.test.ts|src/__tests__/auth/user-groups.test.ts|src/__tests__/aws-exports/js-frontend-config.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_build_function_custom_resource_with_storage_dynamodb_simulator @@ -617,7 +608,7 @@ batch: env: variables: 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 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_function_14_function_15_function_2d @@ -625,7 +616,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/function_14.test.ts|src/__tests__/function_15.test.ts|src/__tests__/function_2d.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_general_config_headless_init_help_hooks_c @@ -633,7 +624,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/general-config/general-config-headless-init.test.ts|src/__tests__/help.test.ts|src/__tests__/hooks-c.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_init_force_push_interactions_1_interactions_2 @@ -649,7 +640,7 @@ batch: env: 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: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_opensearch_simulator_parameter_store_1_parameter_store_2 @@ -657,7 +648,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/opensearch-simulator/opensearch-simulator.test.ts|src/__tests__/parameter-store-1.test.ts|src/__tests__/parameter-store-2.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_android_analytics_pinpoint_config_android_notifications_pinpoint_config_flutter_analytics_pinpoint_config @@ -665,7 +656,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/pinpoint/android-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/android-notifications-pinpoint-config.test.ts|src/__tests__/pinpoint/flutter-analytics-pinpoint-config.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_flutter_notifications_pinpoint_config_ios_analytics_pinpoint_config_ios_notifications_pinpoint_config @@ -673,7 +664,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/pinpoint/flutter-notifications-pinpoint-config.test.ts|src/__tests__/pinpoint/ios-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/ios-notifications-pinpoint-config.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_javascript_analytics_pinpoint_config_javascript_notifications_pinpoint_config_pr_previews_multi_env_1 @@ -681,7 +672,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/pinpoint/javascript-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/javascript-notifications-pinpoint-config.test.ts|src/__tests__/pr-previews-multi-env-1.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_pull_2_push_smoketest_ios @@ -689,7 +680,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/pull-2.test.ts|src/__tests__/push.test.ts|src/__tests__/smoke-tests/smoketest-ios.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_smoketest_S3server_api_8 @@ -697,7 +688,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/smoke-tests/smoketest.test.ts|src/__tests__/storage-simulator/S3server.test.ts|src/__tests__/api_8.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_function_8_schema_iterative_update_locking_api_lambda_auth_2 @@ -713,7 +704,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/layer-2.test.ts|src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_schema_iterative_update_1_auth_6_function_2a @@ -721,7 +712,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-iterative-update-1.test.ts|src/__tests__/auth_6.test.ts|src/__tests__/function_2a.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_schema_connection_2_schema_function_1_api_9b @@ -729,7 +720,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-connection-2.test.ts|src/__tests__/schema-function-1.test.ts|src/__tests__/api_9b.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_custom_policies_container_function_9b_schema_iterative_update_2 @@ -737,7 +728,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/custom_policies_container.test.ts|src/__tests__/function_9b.test.ts|src/__tests__/schema-iterative-update-2.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_storage_1a_storage_1b_function_11 @@ -745,7 +736,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/storage-1a.test.ts|src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_function_2b_function_7_api_connection_migration2 @@ -761,7 +752,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/api_4.test.ts|src/__tests__/containers-api-secrets.test.ts|src/__tests__/storage-4.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_schema_auth_10_geo_multi_env_searchable_datastore @@ -769,7 +760,7 @@ batch: env: 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 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_resolvers_schema_key_api_5 @@ -777,7 +768,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/resolvers.test.ts|src/__tests__/schema-key.test.ts|src/__tests__/api_5.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_apigw_api_lambda_auth_1_api_key_migration2 @@ -785,7 +776,7 @@ batch: env: 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-east-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_schema_searchable_api_key_migration1_schema_auth_14 @@ -793,7 +784,7 @@ batch: env: 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: ap-southeast-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_api_3_api_6b_api_1 @@ -801,7 +792,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/api_3.test.ts|src/__tests__/api_6b.test.ts|src/__tests__/api_1.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_layer_1_api_key_migration4_schema_iterative_update_4 @@ -809,7 +800,7 @@ batch: env: 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: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_function_1_storage_5 @@ -817,7 +808,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/function_1.test.ts|src/__tests__/storage-5.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_datastore_modelgen @@ -826,7 +817,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/datastore-modelgen.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-west-2 DISABLE_COVERAGE: 1 depend-on: - upb @@ -836,7 +827,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/amplify-app.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-west-2 DISABLE_COVERAGE: 1 depend-on: - upb @@ -846,7 +837,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/auth_2c.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_auth_2e @@ -855,7 +846,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/auth_2e.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_uibuilder @@ -864,7 +855,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/uibuilder.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_geo_remove_3 @@ -873,7 +864,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-remove-3.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_geo_add_f @@ -882,7 +873,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-add-f.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_geo_add_e @@ -891,7 +882,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-add-e.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_import_dynamodb_2c @@ -900,7 +891,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_2c.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_env_3 @@ -909,7 +900,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/env-3.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_geo_remove_2 @@ -918,7 +909,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-remove-2.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_notifications_in_app_messaging @@ -927,7 +918,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_import_auth_2a @@ -936,7 +927,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_2a.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_import_auth_1a @@ -945,7 +936,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_1a.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_import_auth_2b @@ -954,7 +945,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_2b.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_import_s3_2a @@ -963,7 +954,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_2a.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_import_s3_2c @@ -972,7 +963,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_2c.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_import_auth_1b @@ -981,7 +972,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_1b.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_schema_auth_11_a @@ -990,7 +981,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/schema-auth-11-a.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_geo_update_1 @@ -999,7 +990,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-update-1.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_geo_update_2 @@ -1008,7 +999,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-update-2.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_import_s3_3 @@ -1017,7 +1008,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_3.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_import_dynamodb_2b @@ -1026,7 +1017,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_2b.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_smoketest_amplify_app @@ -1045,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 @@ -1054,7 +1045,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_2b.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_containers_api_1 @@ -1063,7 +1054,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_schema_auth_15 @@ -1072,7 +1063,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/schema-auth-15.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_schema_connection_1 @@ -1081,7 +1072,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/schema-connection-1.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_import_auth_3 @@ -1090,7 +1081,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_3.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_import_dynamodb_2a @@ -1099,7 +1090,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_2a.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_containers_api_2 @@ -1108,7 +1099,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/containers-api-2.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_import_s3_1 @@ -1117,7 +1108,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_1.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-west-2 USE_PARENT_ACCOUNT: 1 depend-on: - upb @@ -1127,7 +1118,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/transformer-migrations/searchable-migration.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-central-1 USE_PARENT_ACCOUNT: 1 depend-on: - upb @@ -1146,7 +1137,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL 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: - upb @@ -1157,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: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1168,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-central-1 depend-on: - build_windows - upb @@ -1179,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: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1190,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: eu-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1201,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-east-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1212,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: us-east-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1223,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-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1234,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: ap-southeast-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1245,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: us-east-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1256,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: ap-northeast-1 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1267,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-northeast-1 depend-on: - build_windows - upb @@ -1289,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: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1300,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-2 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1311,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: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1333,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-central-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1344,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-southeast-1 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1355,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: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1366,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-west-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1377,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: us-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1388,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: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1399,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-central-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1410,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: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1421,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-west-2 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1432,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: us-west-2 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1443,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: us-west-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1454,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: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1465,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: us-west-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1476,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-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1487,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: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1509,7 +1500,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-2b.test.ts|src/__tests__/schema-auth-6c.test.ts|src/__tests__/schema-auth-6d.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1520,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: us-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1531,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: ap-southeast-2 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1542,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: eu-central-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1553,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: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1564,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-southeast-2 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1575,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: us-east-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1586,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: ap-northeast-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1597,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: eu-central-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1630,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-1 depend-on: - build_windows - upb @@ -1652,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-northeast-1 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1663,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-west-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1674,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 @@ -1685,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-northeast-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1696,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: eu-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1707,17 +1698,17 @@ 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: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb - - identifier: w_auth_admin_api_hosted_ui_user_groups_s3_access + - identifier: w_admin_api_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/auth-admin-api.test.ts|src/__tests__/auth/hosted-ui.test.ts|src/__tests__/auth/user-groups-s3-access.test.ts + TEST_SUITE: src/__tests__/auth/admin-api.test.ts|src/__tests__/auth/hosted-ui.test.ts|src/__tests__/auth/user-groups-s3-access.test.ts CLI_REGION: us-east-1 depend-on: - build_windows @@ -1729,7 +1720,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: 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: ap-southeast-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1740,7 +1731,7 @@ batch: image: $WINDOWS_IMAGE_2019 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: eu-west-2 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1751,7 +1742,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/function_13.test.ts|src/__tests__/function_14.test.ts|src/__tests__/function_2d.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1762,7 +1753,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/general-config/general-config-headless-init.test.ts|src/__tests__/help.test.ts|src/__tests__/init-force-push.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1795,7 +1786,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/parameter-store-2.test.ts|src/__tests__/push.test.ts|src/__tests__/smoke-tests/smoketest-ios.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1806,7 +1797,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/smoke-tests/smoketest.test.ts|src/__tests__/api_8.test.ts|src/__tests__/schema-iterative-update-locking.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1817,7 +1808,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/graphql-v2/api_lambda_auth_2.test.ts|src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1828,7 +1819,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-iterative-update-1.test.ts|src/__tests__/auth_6.test.ts|src/__tests__/function_2a.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1850,7 +1841,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/custom_policies_container.test.ts|src/__tests__/function_9b.test.ts|src/__tests__/schema-iterative-update-2.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1861,7 +1852,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/storage-1a.test.ts|src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1883,7 +1874,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/containers-api-secrets.test.ts|src/__tests__/storage-4.test.ts|src/__tests__/schema-auth-10.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1894,7 +1885,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/geo-multi-env.test.ts|src/__tests__/graphql-v2/searchable-datastore.test.ts|src/__tests__/resolvers.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1905,7 +1896,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-key.test.ts|src/__tests__/api_5.test.ts|src/__tests__/apigw.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1916,7 +1907,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: 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: us-east-1 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1927,7 +1918,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: 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-southeast-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1938,7 +1929,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/api_6b.test.ts|src/__tests__/api_1.test.ts|src/__tests__/layer-1.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1960,7 +1951,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_2c.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1971,7 +1962,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_2e.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1982,7 +1973,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/env-3.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1993,7 +1984,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -2004,7 +1995,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-11-a.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -2015,7 +2006,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/import_s3_3.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -2037,7 +2028,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -2048,7 +2039,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-15.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -2070,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: eu-central-1 depend-on: - build_windows - upb @@ -2093,7 +2084,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/transformer-migrations/searchable-migration.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-west-2 USE_PARENT_ACCOUNT: 1 depend-on: - build_windows @@ -2116,7 +2107,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/import_dynamodb_1.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-west-2 USE_PARENT_ACCOUNT: 1 depend-on: - build_windows @@ -2127,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: ap-southeast-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_api_key_migration_v8 @@ -2136,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-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_notifications_migration_v8 @@ -2145,7 +2136,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_api_key_migration_2_v8 @@ -2154,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: us-east-2 depend-on: - upb - identifier: l_notifications_migration_2_v8 @@ -2163,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: eu-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_function_migration_update_v8 @@ -2172,7 +2163,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/update_tests/function_migration_update.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_notifications_migration_3_v8 @@ -2181,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: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_scaffold_v10 @@ -2190,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-1 depend-on: - upb - identifier: l_api_graphql_v2_migration_v10 @@ -2208,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: us-east-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_api_rest_lambda_migration_v10 @@ -2217,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: eu-central-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_api_rest_serverless_migration_v10 @@ -2226,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: ap-southeast-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_auth_add_all_migration_v10 @@ -2235,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: us-east-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_auth_override_migration_v10 @@ -2244,7 +2235,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/auth-override.migration.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_custom_stack_migration_v10 @@ -2253,7 +2244,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/custom-stack.migration.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_geo_migration_v10 @@ -2262,7 +2253,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/geo.migration.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_git_clone_migration_tests_v10 @@ -2271,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: us-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_pinpoint_region_migration_v10 @@ -2289,7 +2280,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/storage.migration.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_auth_app_client_secret_migration_v12 @@ -2298,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: ap-northeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_auth_hosted_ui_lambda_migration_1_v12 @@ -2307,7 +2298,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-hosted-ui-lambda-migration-1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_auth_hosted_ui_lambda_migration_2_v12 @@ -2316,7 +2307,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-hosted-ui-lambda-migration-2.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_auth_lambda_callout_migration_rollback_v12 @@ -2325,7 +2316,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-lambda-callout-migration-rollback.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_auth_lambda_callout_migration_v12 @@ -2334,7 +2325,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-lambda-callout-migration.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_auth_oauth_lambda_migration_v12 @@ -2343,7 +2334,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-oauth-lambda-migration.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_auth_migration_v12 @@ -2352,7 +2343,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth.migration.test.ts - CLI_REGION: eu-west-2 + 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 eeb7202b035..8c17580d721 100644 --- a/codebuild_specs/wait_for_ids.json +++ b/codebuild_specs/wait_for_ids.json @@ -26,7 +26,7 @@ "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_auth_admin_api_hosted_ui", + "l_auth_5g_admin_api_hosted_ui", "l_auth_7a_auth_8c_feature_flags", "l_auth_9_custom_resources_env_5", "l_auth_add_all_migration_v10", @@ -146,6 +146,7 @@ "l_studio_modelgen_custom_transformers_notifications_in_app_messaging_env_1", "l_uibuilder", "l_user_groups_s3_access_user_groups_js_frontend_config", + "w_admin_api_hosted_ui_user_groups_s3_access", "w_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js", "w_api_10_api_7_export_pull_a", "w_api_2a_api_2b_api_6c", @@ -166,7 +167,6 @@ "w_auth_5a_auth_5c_env_1", "w_auth_5e_auth_8b_geo_add_b", "w_auth_8a_export_pull_d_schema_auth_5a", - "w_auth_admin_api_hosted_ui_user_groups_s3_access", "w_configure_project_init_c_layer_4", "w_containers_api_1", "w_containers_api_2", diff --git a/packages/amplify-e2e-tests/src/__tests__/auth/auth-admin-api.test.ts b/packages/amplify-e2e-tests/src/__tests__/auth/admin-api.test.ts similarity index 100% rename from packages/amplify-e2e-tests/src/__tests__/auth/auth-admin-api.test.ts rename to packages/amplify-e2e-tests/src/__tests__/auth/admin-api.test.ts From 9379872371182d4572ebc8cee0f6177a7a4ba124 Mon Sep 17 00:00:00 2001 From: Kamil Sobol Date: Tue, 2 Jan 2024 16:54:13 -0800 Subject: [PATCH 3/3] pr feedback --- .../resources/adminAuth/admin-auth-app.js | 20 ++++--------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/packages/amplify-category-auth/resources/adminAuth/admin-auth-app.js b/packages/amplify-category-auth/resources/adminAuth/admin-auth-app.js index fe5c54deb17..d6749854ea7 100644 --- a/packages/amplify-category-auth/resources/adminAuth/admin-auth-app.js +++ b/packages/amplify-category-auth/resources/adminAuth/admin-auth-app.js @@ -162,10 +162,7 @@ app.get('/getUser', async (req, res, next) => { app.get('/listUsers', async (req, res, next) => { try { - let limit = 25; - if (req.query.limit) { - limit = parseInt(req.query.limit); - } + const limit = req.query.limit ? parseInt(req.query.limit) : 25; const response = await listUsers(limit, req.query.token); res.status(200).json(response); } catch (err) { @@ -175,10 +172,7 @@ app.get('/listUsers', async (req, res, next) => { app.get('/listGroups', async (req, res, next) => { try { - let limit = 25; - if (req.query.limit) { - limit = parseInt(req.query.limit); - } + const limit = req.query.limit ? parseInt(req.query.limit) : 25; const response = await listGroups(limit, req.query.token); res.status(200).json(response); } catch (err) { @@ -194,10 +188,7 @@ app.get('/listGroupsForUser', async (req, res, next) => { } try { - let limit = 25; - if (req.query.limit) { - limit = parseInt(req.query.limit); - } + const limit = req.query.limit ? parseInt(req.query.limit) : 25; const response = await listGroupsForUser(req.query.username, limit, req.query.token); res.status(200).json(response); } catch (err) { @@ -213,10 +204,7 @@ app.get('/listUsersInGroup', async (req, res, next) => { } try { - let limit = 25; - if (req.query.limit) { - limit = parseInt(req.query.limit); - } + const limit = req.query.limit ? parseInt(req.query.limit) : 25; const response = await listUsersInGroup(req.query.groupname, limit, req.query.token); res.status(200).json(response); } catch (err) {