From d58147e986141a439affda95a72950dc929ecbb3 Mon Sep 17 00:00:00 2001 From: Zachary Goldberg Date: Fri, 21 Jul 2023 13:19:45 -0700 Subject: [PATCH 1/6] chore: codebuild cleanup script --- codebuild_specs/cleanup_resources.yml | 4 +- codebuild_specs/e2e_workflow_base.yml | 2 + codebuild_specs/e2e_workflow_generated.yml | 380 +++--- .../src/cleanup-codebuild-resources.ts | 1066 +++++++++++++++++ shared-scripts.sh | 11 + 5 files changed, 1273 insertions(+), 190 deletions(-) create mode 100644 packages/amplify-e2e-tests/src/cleanup-codebuild-resources.ts diff --git a/codebuild_specs/cleanup_resources.yml b/codebuild_specs/cleanup_resources.yml index c9249fc7446..fafd5eee9ec 100644 --- a/codebuild_specs/cleanup_resources.yml +++ b/codebuild_specs/cleanup_resources.yml @@ -4,4 +4,6 @@ env: phases: build: commands: - - echo cleanup running + - npm install -g ts-node + - source ./shared-scripts.sh && _waitForJobs aggregate_e2e_reports + - source ./shared-scripts.sh && _cleanUpResources diff --git a/codebuild_specs/e2e_workflow_base.yml b/codebuild_specs/e2e_workflow_base.yml index a0b4bb72159..3afc9bc516b 100644 --- a/codebuild_specs/e2e_workflow_base.yml +++ b/codebuild_specs/e2e_workflow_base.yml @@ -110,3 +110,5 @@ batch: compute-type: BUILD_GENERAL1_LARGE depend-on: - upb + - identifier: cleanup_resources + buildspec: codebuild_specs/cleanup_resources.yml diff --git a/codebuild_specs/e2e_workflow_generated.yml b/codebuild_specs/e2e_workflow_generated.yml index 84adefc7f23..1e148960d44 100644 --- a/codebuild_specs/e2e_workflow_generated.yml +++ b/codebuild_specs/e2e_workflow_generated.yml @@ -110,12 +110,14 @@ batch: compute-type: BUILD_GENERAL1_LARGE depend-on: - upb + - identifier: cleanup_resources + buildspec: codebuild_specs/cleanup_resources.yml - identifier: l_diagnose_hooks_a_mock_api buildspec: codebuild_specs/run_e2e_tests_linux.yml env: variables: TEST_SUITE: src/__tests__/diagnose.test.ts|src/__tests__/hooks-a.test.ts|src/__tests__/mock-api.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js @@ -123,7 +125,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: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_auth_2a_auth_2b_auth_2d @@ -131,7 +133,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_2a.test.ts|src/__tests__/auth_2b.test.ts|src/__tests__/auth_2d.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_auth_2f_notifications_lifecycle_uibuilder @@ -139,7 +141,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_2f.test.ts|src/__tests__/notifications-lifecycle.test.ts|src/__tests__/uibuilder.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_notifications_analytics_compatibility_in_app_1_notifications_analytics_compatibility_sms_2_analytics_2 @@ -147,7 +149,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/notifications-analytics-compatibility-in-app-1.test.ts|src/__tests__/notifications-analytics-compatibility-sms-2.test.ts|src/__tests__/analytics-2.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_global_sandbox_c_hooks_b_notifications_analytics_compatibility_sms_1 @@ -155,7 +157,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/global_sandbox-c.test.ts|src/__tests__/hooks-b.test.ts|src/__tests__/notifications-analytics-compatibility-sms-1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_plugin_studio_modelgen_custom_transformers @@ -163,7 +165,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/plugin.test.ts|src/__tests__/studio-modelgen.test.ts|src/__tests__/graphql-v2/custom-transformers.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_notifications_in_app_messaging_env_1_notifications_sms_pull_pull @@ -171,7 +173,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/notifications-in-app-messaging-env-1.test.ts|src/__tests__/notifications-sms-pull.test.ts|src/__tests__/pull.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_auth_10_container_hosting_init_b @@ -179,7 +181,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_10.test.ts|src/__tests__/container-hosting.test.ts|src/__tests__/init_b.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_notifications_apns_notifications_fcm_notifications_in_app_messaging_env_2 @@ -187,7 +189,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/notifications-apns.test.ts|src/__tests__/notifications-fcm.test.ts|src/__tests__/notifications-in-app-messaging-env-2.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_with_babel_config_amplify_configure_env_2 @@ -195,7 +197,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/with-babel-config.test.ts|src/__tests__/amplify-configure.test.ts|src/__tests__/env-2.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_init_d_init_f_auth_5d @@ -203,7 +205,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/init_d.test.ts|src/__tests__/init_f.test.ts|src/__tests__/auth_5d.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_configure_project_git_clone_attach_init_c @@ -211,7 +213,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/configure-project.test.ts|src/__tests__/git-clone-attach.test.ts|src/__tests__/init_c.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_layer_4_function_2c_function_3b @@ -219,7 +221,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/layer-4.test.ts|src/__tests__/function_2c.test.ts|src/__tests__/function_3b.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_function_4_interactions_schema_model_a @@ -235,7 +237,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/tags.test.ts|src/__tests__/auth_1a.test.ts|src/__tests__/auth-trigger.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_custom_policies_function_function_6_storage_2 @@ -251,7 +253,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/export.test.ts|src/__tests__/iam-permissions-boundary.test.ts|src/__tests__/migration/node.function.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_notifications_sms_schema_auth_4b_schema_model_e @@ -267,7 +269,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-versioned.test.ts|src/__tests__/auth_1c.test.ts|src/__tests__/auth_5e.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_auth_8b_geo_add_b_s3_sse @@ -275,7 +277,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_8b.test.ts|src/__tests__/geo-add-b.test.ts|src/__tests__/s3-sse.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_schema_auth_4a_schema_model_b_schema_model_d @@ -283,7 +285,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-4a.test.ts|src/__tests__/schema-model-b.test.ts|src/__tests__/schema-model-d.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_auth_5f_env_4_frontend_config_drift @@ -291,7 +293,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_5f.test.ts|src/__tests__/env-4.test.ts|src/__tests__/frontend_config_drift.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_schema_auth_4d_schema_auth_6a_schema_data_access_patterns @@ -299,7 +301,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-4d.test.ts|src/__tests__/schema-auth-6a.test.ts|src/__tests__/schema-data-access-patterns.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_schema_model_c_schema_predictions_model_migration @@ -307,7 +309,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-model-c.test.ts|src/__tests__/schema-predictions.test.ts|src/__tests__/transformer-migrations/model-migration.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_auth_3c_auth_4c_auth_5a @@ -315,7 +317,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_3c.test.ts|src/__tests__/auth_4c.test.ts|src/__tests__/auth_5a.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_auth_5c_env_1_geo_add_a @@ -323,7 +325,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_5c.test.ts|src/__tests__/env-1.test.ts|src/__tests__/geo-add-a.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_init_a_schema_auth_4c_schema_auth_5c @@ -331,7 +333,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/init_a.test.ts|src/__tests__/schema-auth-4c.test.ts|src/__tests__/schema-auth-5c.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_auth_5b_auth_9_custom_resources @@ -347,7 +349,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/env-5.test.ts|src/__tests__/function_10.test.ts|src/__tests__/function_9c.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_function_permissions_geo_import_1a_geo_import_2 @@ -355,7 +357,7 @@ batch: env: 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-west-2 depend-on: - upb - identifier: l_global_sandbox_b_schema_auth_5d_schema_auth_6b @@ -363,7 +365,7 @@ batch: env: 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: us-east-2 depend-on: - upb - identifier: l_schema_auth_8c_auth_3a_auth_3b @@ -379,7 +381,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_4a.test.ts|src/__tests__/auth_7a.test.ts|src/__tests__/auth_8c.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_feature_flags_geo_import_1b_global_sandbox_a @@ -387,7 +389,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/feature-flags.test.ts|src/__tests__/geo-import-1b.test.ts|src/__tests__/global_sandbox-a.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_init_e_notifications_analytics_compatibility_in_app_2_schema_auth_11_c @@ -395,7 +397,7 @@ batch: env: 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: - upb - identifier: l_schema_auth_2b_schema_auth_6c_schema_auth_6d @@ -403,7 +405,7 @@ batch: env: 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-east-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_schema_auth_7c_schema_auth_8a_function_migration @@ -411,7 +413,7 @@ batch: env: 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-east-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_api_10_api_7_export_pull_a @@ -443,7 +445,7 @@ batch: env: 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-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_auth_11_auth_1b_delete @@ -451,7 +453,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_11.test.ts|src/__tests__/auth_1b.test.ts|src/__tests__/delete.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_geo_add_c_geo_add_d_geo_import_3 @@ -459,7 +461,7 @@ batch: env: 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-southeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_hosting_layer_3_api_connection_migration @@ -467,7 +469,7 @@ batch: env: 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-east-1 depend-on: - upb - identifier: l_api_key_migration3_predictions_schema_auth_11_b @@ -475,7 +477,7 @@ batch: env: 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: us-east-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_schema_auth_1b_schema_auth_2a_schema_auth_7a @@ -483,7 +485,7 @@ batch: env: 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-southeast-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_schema_auth_7b_schema_auth_9_b_schema_iterative_rollback_1 @@ -491,7 +493,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-auth-7b.test.ts|src/__tests__/schema-auth-9-b.test.ts|src/__tests__/schema-iterative-rollback-1.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_predictions_migration_api_6a_auth_7b @@ -499,7 +501,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/transformer-migrations/predictions-migration.test.ts|src/__tests__/api_6a.test.ts|src/__tests__/auth_7b.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_export_pull_b_function_3a_init_special_case @@ -515,7 +517,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/transformer-migrations/http-migration.test.ts|src/__tests__/schema-auth-12.test.ts|src/__tests__/schema-auth-3.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_schema_function_2_auth_4b_auth_8a @@ -523,7 +525,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-function-2.test.ts|src/__tests__/auth_4b.test.ts|src/__tests__/auth_8a.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_export_pull_d_schema_auth_5a_schema_iterative_rollback_2 @@ -531,7 +533,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/export-pull-d.test.ts|src/__tests__/schema-auth-5a.test.ts|src/__tests__/schema-iterative-rollback-2.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_schema_iterative_update_3_auth_migration_api_2a @@ -539,7 +541,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/schema-iterative-update-3.test.ts|src/__tests__/transformer-migrations/auth-migration.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 @@ -547,7 +549,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: eu-west-2 depend-on: - upb - identifier: l_auth_12_auth_2g_auth_2h @@ -555,7 +557,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/auth_12.test.ts|src/__tests__/auth_2g.test.ts|src/__tests__/auth_2h.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_auth_5g_hosted_ui_user_groups @@ -579,7 +581,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 @@ -587,7 +589,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-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_general_config_headless_init_help_hooks_c @@ -595,7 +597,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: ap-northeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_init_force_push_interactions_1_interactions_2 @@ -611,7 +613,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: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_opensearch_simulator_parameter_store_1_parameter_store_2 @@ -619,7 +621,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 @@ -627,7 +629,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: us-east-1 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_flutter_notifications_pinpoint_config_ios_analytics_pinpoint_config_ios_notifications_pinpoint_config @@ -635,7 +637,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: us-east-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_javascript_analytics_pinpoint_config_javascript_notifications_pinpoint_config_pr_previews_multi_env_1 @@ -643,7 +645,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: ap-northeast-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_pull_2_push_smoketest @@ -651,7 +653,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/pull-2.test.ts|src/__tests__/push.test.ts|src/__tests__/smoketest.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_S3server_api_8_function_8 @@ -659,7 +661,7 @@ batch: 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-west-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_schema_iterative_update_locking_api_lambda_auth_2_layer_2 @@ -667,7 +669,7 @@ batch: 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-southeast-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_schema_auth_13_function_5_schema_iterative_update_1 @@ -675,7 +677,7 @@ batch: 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-northeast-1 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_auth_6_function_2a_schema_connection_2 @@ -683,7 +685,7 @@ batch: 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 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_schema_function_1_api_9b_custom_policies_container @@ -691,7 +693,7 @@ batch: 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: us-west-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_function_9b_schema_iterative_update_2_storage_1a @@ -707,7 +709,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_function_7_api_connection_migration2_api_4 @@ -715,7 +717,7 @@ batch: 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: eu-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_containers_api_secrets_storage_4_schema_auth_10 @@ -731,7 +733,7 @@ batch: 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-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_schema_key_api_5_apigw @@ -739,7 +741,7 @@ batch: 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 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: l_api_lambda_auth_1_api_key_migration2_schema_searchable @@ -747,7 +749,7 @@ batch: 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: eu-central-1 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_api_key_migration1_schema_auth_14_api_3 @@ -755,7 +757,7 @@ batch: 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: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_api_6b_api_1_layer_1 @@ -763,7 +765,7 @@ batch: env: variables: TEST_SUITE: src/__tests__/api_6b.test.ts|src/__tests__/api_1.test.ts|src/__tests__/layer-1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_api_key_migration4_schema_iterative_update_4_function_1 @@ -771,7 +773,7 @@ batch: 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: ap-southeast-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_storage_5 @@ -780,7 +782,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/storage-5.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_datastore_modelgen @@ -799,7 +801,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/amplify-app.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 DISABLE_COVERAGE: 1 depend-on: - upb @@ -818,7 +820,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/auth_2e.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_geo_remove_3 @@ -836,7 +838,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-add-f.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_geo_add_e @@ -845,7 +847,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-add-e.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_import_dynamodb_2c @@ -854,7 +856,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_2c.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_env_3 @@ -863,7 +865,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/env-3.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_geo_remove_2 @@ -872,7 +874,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-remove-2.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_notifications_in_app_messaging @@ -881,7 +883,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_import_auth_2a @@ -890,7 +892,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_2a.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_import_auth_1a @@ -899,7 +901,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_1a.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-west-2 depend-on: - upb - identifier: l_import_auth_2b @@ -908,7 +910,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_2b.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_import_s3_2a @@ -917,7 +919,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_2a.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_import_s3_2c @@ -926,7 +928,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-west-2 depend-on: - upb - identifier: l_import_auth_1b @@ -935,7 +937,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_1b.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_schema_auth_11_a @@ -944,7 +946,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/schema-auth-11-a.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_geo_update_1 @@ -953,7 +955,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-update-1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_geo_update_2 @@ -962,7 +964,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-update-2.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_import_s3_3 @@ -971,7 +973,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 @@ -980,7 +982,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_2b.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_hostingPROD @@ -989,7 +991,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/hostingPROD.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_import_s3_2b @@ -998,7 +1000,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_2b.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_containers_api_1 @@ -1007,7 +1009,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_schema_auth_15 @@ -1016,7 +1018,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/schema-auth-15.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_schema_connection_1 @@ -1025,7 +1027,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/schema-connection-1.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_import_auth_3 @@ -1034,7 +1036,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_auth_3.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_import_dynamodb_2a @@ -1043,7 +1045,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_2a.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_containers_api_2 @@ -1052,7 +1054,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/containers-api-2.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_import_s3_1 @@ -1061,7 +1063,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_s3_1.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: eu-west-2 USE_PARENT_ACCOUNT: 1 depend-on: - upb @@ -1081,7 +1083,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/geo-remove-1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_import_dynamodb_1 @@ -1090,7 +1092,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/import_dynamodb_1.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-2 USE_PARENT_ACCOUNT: 1 depend-on: - upb @@ -1101,7 +1103,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-central-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1112,7 +1114,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: ap-southeast-2 depend-on: - build_windows - upb @@ -1123,7 +1125,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_2f.test.ts|src/__tests__/notifications-lifecycle.test.ts|src/__tests__/notifications-analytics-compatibility-in-app-1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1134,7 +1136,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-west-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1156,7 +1158,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-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1167,7 +1169,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: ap-southeast-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1178,7 +1180,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-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1189,7 +1191,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: ap-southeast-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1200,7 +1202,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-west-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1244,7 +1246,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/custom_policies_function.test.ts|src/__tests__/storage-2.test.ts|src/__tests__/iam-permissions-boundary.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1255,7 +1257,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: eu-west-2 depend-on: - build_windows - upb @@ -1266,7 +1268,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-2 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1277,7 +1279,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: ap-northeast-1 depend-on: - build_windows - upb @@ -1288,7 +1290,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: eu-west-2 depend-on: - build_windows - upb @@ -1299,7 +1301,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-east-1 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1310,7 +1312,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/frontend_config_drift.test.ts|src/__tests__/schema-auth-4d.test.ts|src/__tests__/schema-auth-6a.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1321,7 +1323,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: ap-southeast-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1354,7 +1356,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: eu-central-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1365,7 +1367,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-west-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1387,7 +1389,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/function_9c.test.ts|src/__tests__/function-permissions.test.ts|src/__tests__/geo-import-1a.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1398,7 +1400,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/geo-import-2.test.ts|src/__tests__/global_sandbox-b.test.ts|src/__tests__/schema-auth-5d.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1409,7 +1411,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-6b.test.ts|src/__tests__/schema-auth-8c.test.ts|src/__tests__/auth_3a.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1420,7 +1422,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_3b.test.ts|src/__tests__/auth_4a.test.ts|src/__tests__/auth_7a.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1442,7 +1444,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/global_sandbox-a.test.ts|src/__tests__/init_e.test.ts|src/__tests__/notifications-analytics-compatibility-in-app-2.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1453,7 +1455,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-11-c.test.ts|src/__tests__/schema-auth-2b.test.ts|src/__tests__/schema-auth-6c.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1464,7 +1466,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-6d.test.ts|src/__tests__/schema-auth-7c.test.ts|src/__tests__/schema-auth-8a.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1475,7 +1477,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/transformer-migrations/function-migration.test.ts|src/__tests__/api_10.test.ts|src/__tests__/api_7.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1486,7 +1488,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/export-pull-a.test.ts|src/__tests__/function_9a.test.ts|src/__tests__/geo-headless.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1497,7 +1499,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/migration/api.key.migration5.test.ts|src/__tests__/schema-auth-1a.test.ts|src/__tests__/schema-auth-5b.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1508,7 +1510,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-8b.test.ts|src/__tests__/schema-auth-9-a.test.ts|src/__tests__/schema-auth-9-c.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1530,7 +1532,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/delete.test.ts|src/__tests__/geo-add-c.test.ts|src/__tests__/geo-add-d.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1541,7 +1543,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/geo-import-3.test.ts|src/__tests__/hosting.test.ts|src/__tests__/layer-3.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1552,7 +1554,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/migration/api.connection.migration.test.ts|src/__tests__/migration/api.key.migration3.test.ts|src/__tests__/predictions.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1563,7 +1565,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-11-b.test.ts|src/__tests__/schema-auth-1b.test.ts|src/__tests__/schema-auth-2a.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1574,7 +1576,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-7a.test.ts|src/__tests__/schema-auth-7b.test.ts|src/__tests__/schema-auth-9-b.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-west-2 depend-on: - build_windows - upb @@ -1596,7 +1598,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/export-pull-b.test.ts|src/__tests__/init-special-case.test.ts|src/__tests__/transformer-migrations/http-migration.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1607,7 +1609,7 @@ batch: image: $WINDOWS_IMAGE_2019 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: ap-southeast-2 depend-on: - build_windows - upb @@ -1618,7 +1620,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_4b.test.ts|src/__tests__/auth_8a.test.ts|src/__tests__/export-pull-d.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1629,7 +1631,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-5a.test.ts|src/__tests__/schema-iterative-update-3.test.ts|src/__tests__/transformer-migrations/auth-migration.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1640,7 +1642,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/api_2a.test.ts|src/__tests__/api_2b.test.ts|src/__tests__/api_6c.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1651,7 +1653,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/api_9a.test.ts|src/__tests__/auth_2h.test.ts|src/__tests__/auth_5g.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1684,7 +1686,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/function_12.test.ts|src/__tests__/function_13.test.ts|src/__tests__/function_14.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1695,7 +1697,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/function_2d.test.ts|src/__tests__/general-config/general-config-headless-init.test.ts|src/__tests__/help.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1717,7 +1719,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/minify-cloudformation.test.ts|src/__tests__/notifications-multi-env.test.ts|src/__tests__/notifications-sms-update.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1728,7 +1730,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/parameter-store-1.test.ts|src/__tests__/parameter-store-2.test.ts|src/__tests__/push.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1750,7 +1752,7 @@ batch: 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-east-2 + CLI_REGION: eu-west-2 depend-on: - build_windows - upb @@ -1761,7 +1763,7 @@ batch: 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-east-2 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1772,7 +1774,7 @@ batch: 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-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1783,7 +1785,7 @@ batch: 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 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1794,7 +1796,7 @@ batch: 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 - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1805,7 +1807,7 @@ batch: 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 - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-2 depend-on: - build_windows - upb @@ -1816,7 +1818,7 @@ batch: 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 - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1827,7 +1829,7 @@ batch: 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: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1838,7 +1840,7 @@ batch: 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-northeast-1 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1849,7 +1851,7 @@ batch: 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: ap-northeast-1 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1860,7 +1862,7 @@ batch: 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 - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1871,7 +1873,7 @@ batch: 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: us-east-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1882,7 +1884,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-iterative-update-4.test.ts|src/__tests__/function_1.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1893,7 +1895,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_2c.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1904,7 +1906,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_2e.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-east-2 depend-on: - build_windows - upb @@ -1915,7 +1917,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/env-3.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1926,7 +1928,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1937,7 +1939,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-11-a.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-1 depend-on: - build_windows - upb @@ -1948,7 +1950,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/import_s3_3.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -1970,7 +1972,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -1981,7 +1983,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-15.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-central-1 depend-on: - build_windows - upb @@ -1992,7 +1994,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-connection-1.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-northeast-1 depend-on: - build_windows - upb @@ -2003,7 +2005,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/containers-api-2.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -2038,7 +2040,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/geo-remove-1.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - build_windows - upb @@ -2060,7 +2062,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: ap-northeast-1 depend-on: - upb - identifier: l_api_key_migration_v8 @@ -2069,7 +2071,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: eu-central-1 depend-on: - upb - identifier: l_notifications_migration_v8 @@ -2087,7 +2089,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-west-2 depend-on: - upb - identifier: l_notifications_migration_2_v8 @@ -2096,7 +2098,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-2.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_function_migration_update_v8 @@ -2114,7 +2116,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-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_scaffold_v10 @@ -2132,7 +2134,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/api-graphql-v2.migration.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_api_rest_basic_migration_v10 @@ -2141,7 +2143,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-basic.migration.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_api_rest_lambda_migration_v10 @@ -2150,7 +2152,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-lambda.migration.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-central-1 depend-on: - upb - identifier: l_api_rest_serverless_migration_v10 @@ -2159,7 +2161,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-serverless.migration.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_auth_add_all_migration_v10 @@ -2168,7 +2170,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/auth-add-all.migration.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_auth_override_migration_v10 @@ -2177,7 +2179,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/auth-override.migration.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_custom_stack_migration_v10 @@ -2186,7 +2188,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/custom-stack.migration.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_geo_migration_v10 @@ -2195,7 +2197,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/geo.migration.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_git_clone_migration_tests_v10 @@ -2204,7 +2206,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/git-clone-migration-tests.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-west-2 depend-on: - upb - identifier: l_pinpoint_region_migration_v10 @@ -2222,7 +2224,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v10/storage.migration.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_auth_app_client_secret_migration_v12 @@ -2240,7 +2242,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-hosted-ui-lambda-migration.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-northeast-1 depend-on: - upb - identifier: l_auth_lambda_callout_migration_rollback_v12 @@ -2249,7 +2251,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-lambda-callout-migration-rollback.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - upb - identifier: l_auth_lambda_callout_migration_v12 @@ -2258,7 +2260,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-lambda-callout-migration.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upb - identifier: l_auth_oauth_lambda_migration_v12 @@ -2267,7 +2269,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth-oauth-lambda-migration.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-2 depend-on: - upb - identifier: l_auth_migration_v12 @@ -2276,7 +2278,7 @@ batch: variables: compute-type: BUILD_GENERAL1_SMALL TEST_SUITE: src/__tests__/migration_tests_v12/auth.migration.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upb - identifier: aggregate_e2e_reports diff --git a/packages/amplify-e2e-tests/src/cleanup-codebuild-resources.ts b/packages/amplify-e2e-tests/src/cleanup-codebuild-resources.ts new file mode 100644 index 00000000000..1fa65980c8d --- /dev/null +++ b/packages/amplify-e2e-tests/src/cleanup-codebuild-resources.ts @@ -0,0 +1,1066 @@ +import { + Amplify, + AppSync, + CloudFormation, + CodeBuild, + CognitoIdentityServiceProvider, + IAM, + Organizations, + Pinpoint, + S3, + STS, +} from 'aws-sdk'; +import fs from 'fs-extra'; +import _ from 'lodash'; +import path from 'path'; + +const AWS_REGIONS_TO_RUN_TESTS = [ + 'us-east-1', + 'us-east-2', + 'us-west-2', + 'eu-west-2', + 'eu-central-1', + 'ap-northeast-1', + 'ap-southeast-1', + 'ap-southeast-2', +]; + +const AWS_REGIONS_TO_RUN_TESTS_PINPOINT = AWS_REGIONS_TO_RUN_TESTS.filter((region) => region !== 'eu-west-3'); + +// Limits are enforced per region +// we collect resources from each region & then delete as an entire batch +const DELETE_LIMITS = { + PER_REGION: { + OTHER: 25, + CFN_STACK: 50, + }, + PER_BATCH: { + OTHER: 50, + CFN_STACK: 100, + }, +}; + +const reportPath = path.normalize(path.join(__dirname, '..', 'amplify-e2e-reports', 'stale-resources.json')); + +const MULTI_JOB_APP = ''; +const ORPHAN = ''; +const UNKNOWN = ''; + +type StackInfo = { + stackName: string; + stackStatus: string; + resourcesFailedToDelete?: string[]; + tags: Record; + region: string; + cbInfo?: CodeBuild.Build; +}; + +type AmplifyAppInfo = { + appId: string; + name: string; + region: string; + backends: Record; +}; + +type S3BucketInfo = { + name?: string; + cbInfo?: CodeBuild.Build; + createTime?: Date; +}; + +type UserPoolInfo = { + name?: string; + region: string; + userPoolId?: string; +}; + +type PinpointAppInfo = { + id: string; + name?: string; + arn: string; + region: string; + cbInfo?: CodeBuild.Build; + createTime: Date; +}; + +type IamRoleInfo = { + name: string; + cbInfo?: CodeBuild.Build; + createTime: Date; +}; + +type AppSyncApiInfo = { + apiId?: string; + name?: string; + region: string; + cbInfo?: CodeBuild.Build; +}; + +type ReportEntry = { + jobId?: string; + workflowId?: string; + cbInfo?: CodeBuild.Build; + amplifyApps: AmplifyAppInfo[]; + stacks: StackInfo[]; + buckets: Record; + roles: Record; + pinpointApps: Record; + appSyncApis: Record; + userPools: Record; +}; + +type JobFilterPredicate = (job: ReportEntry) => boolean; + +type CIJobInfo = { + workflowId: string; + workflowName: string; + ciJobDetails: string; + buildStatus: string; +}; + +type AWSAccountInfo = { + accessKeyId: string; + secretAccessKey: string; + sessionToken: string; + parent: boolean; +}; + +const PINPOINT_TEST_REGEX = /integtest/; +const APPSYNC_TEST_REGEX = /integtest/; +const BUCKET_TEST_REGEX = /test/; +const IAM_TEST_REGEX = /!RotateE2eAwsToken-e2eTestContextRole|-integtest$|^amplify-|^eu-|^us-|^ap-/; +const USER_POOL_TEST_REGEX = /integtest|amplify_backend_manager/; +const STALE_DURATION_MS = 2 * 60 * 60 * 1000; // 2 hours in milliseconds + +/* + * Exit on expired token as all future requests will fail. + */ +const handleExpiredTokenException = (): void => { + console.log('Token expired. Exiting...'); + process.exit(1); +}; + +/** + * Check if a resource is stale based on its created date + * @param created + * @returns + */ +const isStale = (created: string | Date | undefined): boolean => { + let normalizedDate; + if (typeof created === 'string') { + normalizedDate = new Date(created); + } else { + normalizedDate = created; + } + const now = new Date().getTime(); + const isStale = normalizedDate ? now - normalizedDate.getTime() > STALE_DURATION_MS : false; + return isStale; +}; + +/** + * We define a resource as viable for deletion if it matches TEST_REGEX in the name, and if it is > STALE_DURATION_MS old. + */ +const testBucketStalenessFilter = (resource: S3.Bucket): boolean => { + const isTestResource = !!resource?.Name?.match(BUCKET_TEST_REGEX); + return isTestResource && isStale(resource.CreationDate); +}; + +const testRoleStalenessFilter = (resource: IAM.Role): boolean => { + const isTestResource = !!resource?.RoleName?.match(IAM_TEST_REGEX); + return isTestResource && isStale(resource.CreateDate); +}; + +const testUserPoolStalenessFilter = (resource: CognitoIdentityServiceProvider.UserPoolDescriptionType): boolean => { + const isTestResource = !!resource?.Name?.match(USER_POOL_TEST_REGEX); + return isTestResource && isStale(resource.CreationDate); +}; + +const testAppSyncApiStalenessFilter = (resource: AppSync.GraphqlApi): boolean => { + const isTestResource = !!resource?.name?.match(APPSYNC_TEST_REGEX); + const createTimeTagValue = resource?.tags?.['codebuild:create_time']; + let isStaleResource = true; + if (createTimeTagValue) { + const createTime = new Date(createTimeTagValue); + isStaleResource = isStale(createTime); + } + return isTestResource && isStaleResource; +}; + +const testPinpointAppStalenessFilter = (resource: Pinpoint.ApplicationResponse): boolean => { + const isTestResource = !!(resource.Name.match(PINPOINT_TEST_REGEX) && resource.CreationDate); + return isTestResource && isStale(resource.CreationDate); +}; + +/** + * Get all S3 buckets in the account, and filter down to the ones we consider stale. + */ +const getOrphanS3TestBuckets = async (account: AWSAccountInfo): Promise => { + const s3Client = new S3(getAWSConfig(account)); + const listBucketResponse = await s3Client.listBuckets().promise(); + const staleBuckets = listBucketResponse?.Buckets?.filter(testBucketStalenessFilter); + return staleBuckets?.map((it) => ({ name: it.Name, createTime: it.CreationDate })) ?? []; +}; + +/** + * Get all iam roles in the account, and filter down to the ones we consider stale. + */ +const getOrphanTestIamRoles = async (account: AWSAccountInfo): Promise => { + const iamClient = new IAM(getAWSConfig(account)); + const listRoleResponse = await iamClient.listRoles({ MaxItems: 1000 }).promise(); + const staleRoles = listRoleResponse.Roles.filter(testRoleStalenessFilter); + return staleRoles.map((it) => ({ name: it.RoleName, createTime: it.CreateDate })); +}; + +const getOrphanPinpointApplications = async (account: AWSAccountInfo, region: string): Promise => { + const pinpoint = new Pinpoint(getAWSConfig(account, region)); + const apps: PinpointAppInfo[] = []; + let nextToken = undefined; + + do { + const result: Pinpoint.GetAppsResponse = await pinpoint.getApps({ Token: nextToken }).promise(); + apps.push( + ...(result.ApplicationsResponse?.Item || []).filter(testPinpointAppStalenessFilter).map((it) => ({ + id: it.Id, + name: it.Name, + arn: it.Arn, + region, + createTime: new Date(it?.CreationDate ?? 'Invalid Date'), + })), + ); + + nextToken = result.ApplicationsResponse.NextToken; + } while (nextToken); + + return apps; +}; + +const getOrphanUserPools = async (account: AWSAccountInfo, region: string): Promise => { + const cognitoClient = new CognitoIdentityServiceProvider(getAWSConfig(account, region)); + const userPools = await cognitoClient.listUserPools({ MaxResults: 60 }).promise(); + const staleUserPools = userPools?.UserPools?.filter(testUserPoolStalenessFilter); + return staleUserPools?.map((it) => ({ name: it.Name, userPoolId: it.Id, region })) ?? []; +}; + +/** + * Get all AppSync Apis in the account, and filter down to the ones we consider stale. + */ +const getOrphanAppSyncApis = async (account: AWSAccountInfo, region: string): Promise => { + const appSyncClient = new AppSync(getAWSConfig(account, region)); + const listApisResponse = await appSyncClient.listGraphqlApis({ maxResults: 25 }).promise(); + const staleApis = listApisResponse?.graphqlApis?.filter(testAppSyncApiStalenessFilter); + return staleApis?.map((it) => ({ apiId: it.apiId, name: it.name, region })) ?? []; +}; + +/** + * Get the relevant AWS config object for a given account and region. + */ +const getAWSConfig = ({ accessKeyId, secretAccessKey, sessionToken }: AWSAccountInfo, region?: string) => ({ + credentials: { + accessKeyId, + secretAccessKey, + sessionToken, + }, + ...(region ? { region } : {}), + maxRetries: 10, +}); + +/** + * delete an S3 bucket, copied from amplify-e2e-core + */ +const deleteS3Bucket = async (bucket: string, providedS3Client: S3 | undefined = undefined) => { + const s3 = providedS3Client || new S3(); + let continuationToken: Pick | undefined = undefined; + const objectKeyAndVersion = []; + let truncated = true; + while (truncated) { + const results: S3.ListObjectVersionsOutput = await s3 + .listObjectVersions({ + Bucket: bucket, + ...(continuationToken ? continuationToken : {}), + }) + .promise(); + + results.Versions?.forEach(({ Key, VersionId }) => { + if (Key) { + objectKeyAndVersion.push({ Key, VersionId }); + } + }); + + results.DeleteMarkers?.forEach(({ Key, VersionId }) => { + if (Key) { + objectKeyAndVersion.push({ Key, VersionId }); + } + }); + + continuationToken = { KeyMarker: results.NextKeyMarker, VersionIdMarker: results.NextVersionIdMarker }; + truncated = !!results.IsTruncated; + } + const chunkedResult = _.chunk(objectKeyAndVersion, 1000); + const deleteReq = chunkedResult + .map((r: S3.ObjectIdentifier[]) => ({ + Bucket: bucket, + Delete: { + Objects: r, + Quiet: true, + }, + })) + .map((delParams: S3.DeleteObjectsRequest) => s3.deleteObjects(delParams).promise()); + await Promise.all(deleteReq); + await s3 + .deleteBucket({ + Bucket: bucket, + }) + .promise(); + await bucketNotExists(bucket); +}; + +/** + * Copied from amplify-e2e-core + */ +const bucketNotExists = async (bucket: string) => { + const s3 = new S3(); + const params = { + Bucket: bucket, + $waiter: { maxAttempts: 10, delay: 30 }, + }; + try { + await s3.waitFor('bucketNotExists', params).promise(); + return true; + } catch (error) { + if (error.statusCode === 200) { + return false; + } + throw error; + } +}; + +/** + * Copied from amplify-e2e-core + */ +const sleep = async (milliseconds: number): Promise => new Promise((resolve) => setTimeout(resolve, milliseconds)); + +/** + * Returns a list of Amplify Apps in the region. The apps includes information about the CircleCI build that created the app + * This is determined by looking at tags of the backend environments that are associated with the Apps + * @param account aws account to query for amplify Apps + * @param region aws region to query for amplify Apps + * @returns Promise a list of Amplify Apps in the region with build info + */ +const getAmplifyApps = async (account: AWSAccountInfo, region: string, cbClient: CodeBuild): Promise => { + if (region === 'us-east-1' && account.parent) { + return []; // temporarily disabled until us-east-1 is re-enabled for this account + } + const amplifyClient = new Amplify(getAWSConfig(account, region)); + try { + const amplifyApps = await amplifyClient.listApps({ maxResults: 25 }).promise(); // keeping it to 25 as max supported is 25 + const result: AmplifyAppInfo[] = []; + for (const app of amplifyApps.apps) { + if (!isStale(app.createTime)) { + continue; // skip + } + const backends: Record = {}; + try { + const backendEnvironments = await amplifyClient.listBackendEnvironments({ appId: app.appId, maxResults: 5 }).promise(); + for (const backendEnv of backendEnvironments.backendEnvironments) { + if (backendEnv.stackName) { + const buildInfo = await getStackDetails(backendEnv.stackName, account, region, cbClient); + if (buildInfo) { + backends[backendEnv.environmentName] = buildInfo; + } + } + } + } catch (e) { + // console.log(e); + } + result.push({ + appId: app.appId, + name: app.name, + region, + backends, + }); + } + return result; + } catch (e) { + console.log(e); + return []; + } +}; + +/** + * Return the job id looking at `codebuild:build_id` in the tags + * @param tags Tags associated with the resource + * @returns build number or undefined + */ +const getJobId = (tags: CloudFormation.Tags = []): string | undefined => { + const jobId = tags.find((tag) => tag.Key === 'codebuild:build_id')?.Value; + return jobId; +}; + +/** + * Gets details about a stack and CI job that created the stack. If a stack has status of + * `DELETE_FAILED` then it also includes the list of physical id of resources that caused + * deletion failures + * + * @param stackName name of the stack + * @param account account + * @param region region + * @returns stack details + */ +const getStackDetails = async (stackName: string, account: AWSAccountInfo, region: string, cbClient: CodeBuild): Promise => { + const cfnClient = new CloudFormation(getAWSConfig(account, region)); + const stack = await cfnClient.describeStacks({ StackName: stackName }).promise(); + const tags = stack?.Stacks?.[0].Tags ?? []; + const stackStatus = stack?.Stacks?.[0]?.StackStatus ?? 'UNDEFINED'; + let resourcesFailedToDelete: string[] = []; + if (stackStatus === 'DELETE_FAILED') { + // Todo: We need to investigate if we should go ahead and remove the resources to prevent account getting cluttered + const resources = await cfnClient.listStackResources({ StackName: stackName }).promise(); + resourcesFailedToDelete = + resources?.StackResourceSummaries?.filter((r) => r.ResourceStatus === 'DELETE_FAILED').map((r) => r.LogicalResourceId) ?? []; + } + const jobId = getJobId(tags); + return { + stackName, + stackStatus, + resourcesFailedToDelete, + region, + tags: tags.reduce((acc, tag) => ({ ...acc, [tag.Key]: tag.Value }), {}), + cbInfo: jobId ? await getCIJobDetails(jobId, cbClient) : undefined, + }; +}; + +const getStacks = async (account: AWSAccountInfo, region: string, cbClient: CodeBuild): Promise => { + const cfnClient = new CloudFormation(getAWSConfig(account, region)); + const stackStatusFilter = [ + 'CREATE_COMPLETE', + 'ROLLBACK_FAILED', + 'ROLLBACK_COMPLETE', + 'DELETE_FAILED', + 'UPDATE_COMPLETE', + 'UPDATE_ROLLBACK_FAILED', + 'UPDATE_ROLLBACK_COMPLETE', + 'IMPORT_COMPLETE', + 'IMPORT_ROLLBACK_FAILED', + 'IMPORT_ROLLBACK_COMPLETE', + ]; + const stacks = await cfnClient + .listStacks({ + StackStatusFilter: stackStatusFilter, + }) + .promise(); + // loop + let nextToken = stacks.NextToken; + while (nextToken && stacks?.StackSummaries?.length && stacks.StackSummaries.length < DELETE_LIMITS.PER_REGION.CFN_STACK) { + const nextPage = await cfnClient + .listStacks({ + StackStatusFilter: stackStatusFilter, + NextToken: nextToken, + }) + .promise(); + if (nextPage?.StackSummaries?.length) { + stacks.StackSummaries.push(...nextPage.StackSummaries); + nextToken = nextPage.NextToken; + } + } + + stacks.StackSummaries = stacks.StackSummaries || []; + + // We are interested in only the root stacks that are deployed by amplify-cli + // NOTE: every few months, we should disable the filter , and clean up all stacks (not just root stacks) + // this is because some child stacks fail to delete (but we don't let that stop us from deleting root stacks) + // eventually, we must clean up those child stacks too. + let rootStacks = stacks.StackSummaries.filter((stack) => { + const isRoot = !stack.RootId; + if (!isStale(stack.CreationTime)) { + console.log('Skipping stack because created date is:', stack.CreationTime); + } + return isRoot && isStale; + }); + if (rootStacks.length > DELETE_LIMITS.PER_REGION.CFN_STACK) { + // we can only delete 100 stacks accross all regions every batch, + // so we shouldn't take more than 50 stacks from each of those 8 regions. + // this should at least limit calls to getStackDetails below + rootStacks = rootStacks.slice(0, DELETE_LIMITS.PER_REGION.CFN_STACK); + } + const results: StackInfo[] = []; + for (const stack of rootStacks) { + try { + const details = await getStackDetails(stack.StackName, account, region, cbClient); + if (details) { + results.push(details); + } + } catch { + // don't want to barf and fail e2e tests + } + } + return results; +}; + +const getCIJobDetails = async (build_id: string, cbClient: CodeBuild): Promise => { + const batchBuilds = await cbClient.batchGetBuilds({ ids: [build_id] }).promise(); + const buildInfo = batchBuilds?.builds?.[0]; + + return buildInfo; +}; + +const getS3Buckets = async (account: AWSAccountInfo, cbClient: CodeBuild): Promise => { + const s3Client = new S3(getAWSConfig(account)); + const buckets = await s3Client.listBuckets().promise(); + if (buckets.Buckets === undefined) { + return []; + } + const result: S3BucketInfo[] = []; + for (const bucket of buckets.Buckets) { + if (!bucket.Name) { + continue; + } + try { + const bucketDetails = await s3Client.getBucketTagging({ Bucket: bucket.Name }).promise(); + const jobId = getJobId(bucketDetails.TagSet); + if (jobId) { + result.push({ + name: bucket.Name, + cbInfo: await getCIJobDetails(jobId, cbClient), + createTime: bucket.CreationDate, + }); + } + } catch (e) { + if (e.code !== 'NoSuchTagSet' && e.code !== 'NoSuchBucket') { + throw e; + } + result.push({ + name: bucket.Name, + createTime: bucket.CreationDate, + }); + } + } + return result; +}; + +/** + * extract and moves CI job details + */ +const extractCIJobInfo = (record: S3BucketInfo | StackInfo | AmplifyAppInfo): CIJobInfo => ({ + workflowId: _.get(record, ['0', 'cbInfo', 'workflows', 'workflow_id']), + workflowName: _.get(record, ['0', 'cbInfo', 'workflows', 'workflow_name']), + buildStatus: _.get(record, ['0', 'cbInfo', 'buildStatus']), + ciJobDetails: _.get(record, ['0', 'cbInfo']), +}); + +/** + * Merges stale resources and returns a list grouped by the CI jobId. Amplify Apps that don't have + * any backend environment are grouped as Orphan apps and apps that have Backend created by different CI jobs are + * grouped as MULTI_JOB_APP. Any resource that do not have a CI job is grouped under UNKNOWN + */ +const mergeResourcesByCIJob = ( + amplifyApp: AmplifyAppInfo[], + cfnStacks: StackInfo[], + s3Buckets: S3BucketInfo[], + orphanS3Buckets: S3BucketInfo[], + orphanIamRoles: IamRoleInfo[], + orphanPinpointApplications: PinpointAppInfo[], + orphanAppSyncApis: AppSyncApiInfo[], + orphanUserPools: UserPoolInfo[], +): Record => { + const result: Record = {}; + + const stacksByJobId = _.groupBy(cfnStacks, (stack: StackInfo) => _.get(stack, ['cbInfo', 'id'], UNKNOWN)); + + const bucketByJobId = _.groupBy(s3Buckets, (bucketInfo: S3BucketInfo) => _.get(bucketInfo, ['cbInfo', 'id'], UNKNOWN)); + + const amplifyAppByJobId = _.groupBy(amplifyApp, (appInfo: AmplifyAppInfo) => { + if (Object.keys(appInfo.backends).length === 0) { + return ORPHAN; + } + + const buildIds = _.groupBy(appInfo.backends, (backendInfo: StackInfo) => _.get(backendInfo, ['cbInfo', 'id'], UNKNOWN)); + if (Object.keys(buildIds).length === 1) { + return Object.keys(buildIds)[0]; + } + + return MULTI_JOB_APP; + }); + + _.mergeWith( + result, + _.pickBy(amplifyAppByJobId, (__: unknown, key: string) => key !== MULTI_JOB_APP), + (val: any, src: AmplifyAppInfo, key: string) => ({ + ...val, + ...extractCIJobInfo(src), + jobId: key, + amplifyApps: src, + }), + ); + + _.mergeWith( + result, + stacksByJobId, + (__: unknown, key: string) => key !== ORPHAN, + (val: any, src: StackInfo, key: string) => ({ + ...val, + ...extractCIJobInfo(src), + jobId: key, + stacks: src, + }), + ); + + _.mergeWith(result, bucketByJobId, (val: any, src: S3BucketInfo, key: string) => ({ + ...val, + ...extractCIJobInfo(src), + jobId: key, + buckets: src, + })); + + const orphanBuckets = { + [ORPHAN]: orphanS3Buckets, + }; + + _.mergeWith(result, orphanBuckets, (val: any, src: S3BucketInfo, key: string) => ({ + ...val, + jobId: key, + buckets: src, + })); + + const orphanIamRolesGroup = { + [ORPHAN]: orphanIamRoles, + }; + + _.mergeWith(result, orphanIamRolesGroup, (val: any, src: IamRoleInfo, key: string) => ({ + ...val, + jobId: key, + roles: src, + })); + + const orphanPinpointApps = { + [ORPHAN]: orphanPinpointApplications, + }; + + _.mergeWith(result, orphanPinpointApps, (val: any, src: PinpointAppInfo, key: string) => ({ + ...val, + jobId: key, + pinpointApps: src, + })); + + _.mergeWith( + result, + { + [ORPHAN]: orphanAppSyncApis, + }, + (val: any, src: AppSyncApiInfo, key: string) => ({ + ...val, + jobId: key, + appSyncApis: src, + }), + ); + + _.mergeWith( + result, + { + [ORPHAN]: orphanUserPools, + }, + (val: any, src: UserPoolInfo, key: string) => ({ + ...val, + jobId: key, + userPools: src, + }), + ); + + return result; +}; + +const deleteAmplifyApps = async (account: AWSAccountInfo, accountIndex: number, apps: AmplifyAppInfo[]): Promise => { + await Promise.all(apps.slice(0, DELETE_LIMITS.PER_BATCH.OTHER).map((app) => deleteAmplifyApp(account, accountIndex, app))); +}; + +const deleteAmplifyApp = async (account: AWSAccountInfo, accountIndex: number, app: AmplifyAppInfo): Promise => { + const { name, appId, region } = app; + console.log(`[ACCOUNT ${accountIndex}] Deleting App ${name}(${appId})`); + const amplifyClient = new Amplify(getAWSConfig(account, region)); + try { + await amplifyClient.deleteApp({ appId }).promise(); + } catch (e) { + console.log(`[ACCOUNT ${accountIndex}] Deleting Amplify App ${appId} failed with the following error`, e); + if (e.code === 'ExpiredTokenException') { + handleExpiredTokenException(); + } + } +}; + +const deleteIamRoles = async (account: AWSAccountInfo, accountIndex: number, roles: IamRoleInfo[]): Promise => { + await Promise.all(roles.slice(0, DELETE_LIMITS.PER_BATCH.OTHER).map((role) => deleteIamRole(account, accountIndex, role))); +}; + +const deleteIamRole = async (account: AWSAccountInfo, accountIndex: number, role: IamRoleInfo): Promise => { + const { name: roleName } = role; + try { + console.log(`[ACCOUNT ${accountIndex}] Deleting Iam Role ${roleName}`); + console.log(`Role creation time (PST): ${role.createTime.toLocaleTimeString('en-US', { timeZone: 'America/Los_Angeles' })}`); + const iamClient = new IAM(getAWSConfig(account)); + await deleteAttachedRolePolicies(account, accountIndex, roleName); + await deleteRolePolicies(account, accountIndex, roleName); + await iamClient.deleteRole({ RoleName: roleName }).promise(); + } catch (e) { + console.log(`[ACCOUNT ${accountIndex}] Deleting iam role ${roleName} failed with error ${e.message}`); + if (e.code === 'ExpiredTokenException') { + handleExpiredTokenException(); + } + } +}; + +const deleteAttachedRolePolicies = async (account: AWSAccountInfo, accountIndex: number, roleName: string): Promise => { + const iamClient = new IAM(getAWSConfig(account)); + const rolePolicies = await iamClient.listAttachedRolePolicies({ RoleName: roleName }).promise(); + if (rolePolicies?.AttachedPolicies) { + await Promise.all(rolePolicies.AttachedPolicies.map((policy) => detachIamAttachedRolePolicy(account, accountIndex, roleName, policy))); + } +}; + +const detachIamAttachedRolePolicy = async ( + account: AWSAccountInfo, + accountIndex: number, + roleName: string, + policy: IAM.AttachedPolicy, +): Promise => { + if (policy?.PolicyArn) { + try { + console.log(`[ACCOUNT ${accountIndex}] Detach Iam Attached Role Policy ${policy.PolicyName}`); + const iamClient = new IAM(getAWSConfig(account)); + await iamClient.detachRolePolicy({ RoleName: roleName, PolicyArn: policy.PolicyArn }).promise(); + } catch (e) { + console.log(`[ACCOUNT ${accountIndex}] Detach iam role policy ${policy.PolicyName} failed with error ${e.message}`); + if (e.code === 'ExpiredTokenException') { + handleExpiredTokenException(); + } + } + } +}; + +const deleteRolePolicies = async (account: AWSAccountInfo, accountIndex: number, roleName: string): Promise => { + const iamClient = new IAM(getAWSConfig(account)); + const rolePolicies = await iamClient.listRolePolicies({ RoleName: roleName }).promise(); + await Promise.all(rolePolicies.PolicyNames.map((policy) => deleteIamRolePolicy(account, accountIndex, roleName, policy))); +}; + +const deleteIamRolePolicy = async (account: AWSAccountInfo, accountIndex: number, roleName: string, policyName: string): Promise => { + try { + console.log(`[ACCOUNT ${accountIndex}] Deleting Iam Role Policy ${policyName}`); + const iamClient = new IAM(getAWSConfig(account)); + await iamClient.deleteRolePolicy({ RoleName: roleName, PolicyName: policyName }).promise(); + } catch (e) { + console.log(`[ACCOUNT ${accountIndex}] Deleting iam role policy ${policyName} failed with error ${e.message}`); + if (e.code === 'ExpiredTokenException') { + handleExpiredTokenException(); + } + } +}; + +const deleteBuckets = async (account: AWSAccountInfo, accountIndex: number, buckets: S3BucketInfo[]): Promise => { + await Promise.all(buckets.slice(0, DELETE_LIMITS.PER_BATCH.OTHER).map((bucket) => deleteBucket(account, accountIndex, bucket))); +}; + +const deleteBucket = async (account: AWSAccountInfo, accountIndex: number, bucket: S3BucketInfo): Promise => { + const { createTime, name } = bucket; + if (name) { + try { + console.log(`[ACCOUNT ${accountIndex}] Deleting S3 Bucket ${name}`); + console.log(`Bucket creation time (PST): ${createTime?.toLocaleTimeString('en-US', { timeZone: 'America/Los_Angeles' })}`); + const s3 = new S3(getAWSConfig(account)); + await deleteS3Bucket(name, s3); + } catch (e) { + console.log(`[ACCOUNT ${accountIndex}] Deleting bucket ${name} failed with error ${e.message}`); + if (e.code === 'ExpiredTokenException') { + handleExpiredTokenException(); + } + } + } +}; + +const deletePinpointApps = async (account: AWSAccountInfo, accountIndex: number, apps: PinpointAppInfo[]): Promise => { + await Promise.all(apps.slice(0, DELETE_LIMITS.PER_BATCH.OTHER).map((app) => deletePinpointApp(account, accountIndex, app))); +}; + +const deletePinpointApp = async (account: AWSAccountInfo, accountIndex: number, app: PinpointAppInfo): Promise => { + const { id, name, region } = app; + try { + console.log(`[ACCOUNT ${accountIndex}] Deleting Pinpoint App ${name}`); + console.log(`Pinpoint creation time (PST): ${app.createTime.toLocaleTimeString('en-US', { timeZone: 'America/Los_Angeles' })}`); + const pinpoint = new Pinpoint(getAWSConfig(account, region)); + await pinpoint.deleteApp({ ApplicationId: id }).promise(); + } catch (e) { + console.log(`[ACCOUNT ${accountIndex}] Deleting pinpoint app ${name} failed with error ${e.message}`); + } +}; + +const deleteAppSyncApis = async (account: AWSAccountInfo, accountIndex: number, apis: AppSyncApiInfo[]): Promise => { + await Promise.all(apis.slice(0, DELETE_LIMITS.PER_BATCH.OTHER).map((api) => deleteAppSyncApi(account, accountIndex, api))); +}; + +const deleteAppSyncApi = async (account: AWSAccountInfo, accountIndex: number, api: AppSyncApiInfo): Promise => { + const { apiId, name, region } = api; + if (apiId) { + try { + console.log(`[ACCOUNT ${accountIndex}] Deleting AppSync Api ${name}`); + const appSync = new AppSync(getAWSConfig(account, region)); + await appSync.deleteGraphqlApi({ apiId }).promise(); + } catch (e) { + console.log(`[ACCOUNT ${accountIndex}] Deleting AppSync Api ${name} failed with error ${e.message}`); + } + } +}; + +const deleteUserPools = async (account: AWSAccountInfo, accountIndex: number, userPools: UserPoolInfo[]): Promise => { + await Promise.all(userPools.slice(0, DELETE_LIMITS.PER_BATCH.OTHER).map((userPool) => deleteUserPool(account, accountIndex, userPool))); +}; + +const deleteUserPool = async (account: AWSAccountInfo, accountIndex: number, userPool: UserPoolInfo): Promise => { + const { name, region, userPoolId } = userPool; + if (!userPoolId) { + return; + } + try { + console.log(`[ACCOUNT ${accountIndex}] Deleting UserPool ${name}`); + const cognitoClient = new CognitoIdentityServiceProvider(getAWSConfig(account, region)); + const userPoolDetails = await cognitoClient.describeUserPool({ UserPoolId: userPoolId }).promise(); + if (userPoolDetails?.UserPool?.Domain) { + await cognitoClient + .deleteUserPoolDomain({ + UserPoolId: userPoolId, + Domain: userPoolDetails.UserPool.Domain, + }) + .promise(); + } + await cognitoClient.deleteUserPool({ UserPoolId: userPoolId }).promise(); + } catch (e) { + console.log(`[ACCOUNT ${accountIndex}] Deleting UserPool ${name} failed with error ${e.message}`); + } +}; + +const deleteCfnStacks = async (account: AWSAccountInfo, accountIndex: number, stacks: StackInfo[]): Promise => { + await Promise.all(stacks.slice(0, DELETE_LIMITS.PER_BATCH.CFN_STACK).map((stack) => deleteCfnStack(account, accountIndex, stack))); +}; + +const deleteCfnStack = async (account: AWSAccountInfo, accountIndex: number, stack: StackInfo): Promise => { + const { stackName, region, resourcesFailedToDelete } = stack; + const resourceToRetain = resourcesFailedToDelete?.length ? resourcesFailedToDelete : undefined; + console.log(`[ACCOUNT ${accountIndex}] Deleting CloudFormation stack ${stackName}`); + try { + const cfnClient = new CloudFormation(getAWSConfig(account, region)); + await cfnClient.deleteStack({ StackName: stackName, RetainResources: resourceToRetain }).promise(); + // we'll only wait up to a minute before moving on + await cfnClient.waitFor('stackDeleteComplete', { StackName: stackName, $waiter: { maxAttempts: 2 } }).promise(); + } catch (e) { + console.log(`Deleting CloudFormation stack ${stackName} failed with error ${e.message}`); + if (e.code === 'ExpiredTokenException') { + handleExpiredTokenException(); + } + } +}; + +const generateReport = (jobs: _.Dictionary): void => { + fs.ensureFileSync(reportPath); + fs.writeFileSync(reportPath, JSON.stringify(jobs, null, 4)); +}; + +/** + * While we basically fan-out deletes elsewhere in this script, leaving the app->cfn->bucket delete process + * serial within a given account, it's not immediately clear if this is necessary, but seems possibly valuable. + */ +const deleteResources = async ( + account: AWSAccountInfo, + accountIndex: number, + staleResources: Record, +): Promise => { + for (const jobId of Object.keys(staleResources)) { + const resources = staleResources[jobId]; + if (resources.amplifyApps) { + console.log(`Deleting up to ${DELETE_LIMITS.PER_BATCH.OTHER} of ${resources.amplifyApps.length} apps on ACCOUNT[${accountIndex}]`); + await deleteAmplifyApps(account, accountIndex, Object.values(resources.amplifyApps)); + } + + if (resources.stacks) { + console.log(`Deleting up to ${DELETE_LIMITS.PER_BATCH.CFN_STACK} of ${resources.stacks.length} stacks on ACCOUNT[${accountIndex}]`); + await deleteCfnStacks(account, accountIndex, Object.values(resources.stacks)); + } + + if (resources.buckets) { + console.log(`Deleting up to ${DELETE_LIMITS.PER_BATCH.OTHER} of ${resources.buckets.length} buckets on ACCOUNT[${accountIndex}]`); + await deleteBuckets(account, accountIndex, Object.values(resources.buckets)); + } + + if (resources.roles) { + console.log(`Deleting up to ${DELETE_LIMITS.PER_BATCH.OTHER} of ${resources.roles.length} roles on ACCOUNT[${accountIndex}]`); + await deleteIamRoles(account, accountIndex, Object.values(resources.roles)); + } + + if (resources.pinpointApps) { + console.log( + `Deleting up to ${DELETE_LIMITS.PER_BATCH.OTHER} of ${resources.pinpointApps.length} pinpoint apps on ACCOUNT[${accountIndex}]`, + ); + await deletePinpointApps(account, accountIndex, Object.values(resources.pinpointApps)); + } + + if (resources.appSyncApis) { + console.log( + `Deleting up to ${DELETE_LIMITS.PER_BATCH.OTHER} of ${resources.appSyncApis.length} appSyncApis on ACCOUNT[${accountIndex}]`, + ); + await deleteAppSyncApis(account, accountIndex, Object.values(resources.appSyncApis)); + } + + if (resources.userPools) { + console.log(`Deleting up to ${DELETE_LIMITS.PER_BATCH.OTHER} of ${resources.userPools.length} userPools on ACCOUNT[${accountIndex}]`); + await deleteUserPools(account, accountIndex, Object.values(resources.userPools)); + } + } +}; + +/** + * Retrieve the accounts to process for potential cleanup. By default we will attempt + * to get all accounts within the root account organization. + */ +const getAccountsToCleanup = async (): Promise => { + const stsRes = new STS({ + apiVersion: '2011-06-15', + accessKeyId: process.env.AWS_ACCESS_KEY_ID, + secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY, + sessionToken: process.env.AWS_SESSION_TOKEN, + }); + const parentAccountIdentity = await stsRes.getCallerIdentity().promise(); + const orgApi = new Organizations({ + apiVersion: '2016-11-28', + // the region where the organization exists + region: 'us-east-1', + }); + try { + const orgAccounts = await orgApi.listAccounts().promise(); + const allAccounts = orgAccounts.Accounts ?? []; + let nextToken = orgAccounts.NextToken; + while (nextToken) { + const nextPage = await orgApi.listAccounts({ NextToken: nextToken }).promise(); + if (!nextPage?.Accounts?.length) { + break; + } + allAccounts.push(...nextPage.Accounts); + nextToken = nextPage.NextToken; + } + const accountCredentialPromises = allAccounts.map(async (account) => { + if (account.Id === parentAccountIdentity.Account) { + return getEnvVarCredentials(); + } + const randomNumber = Math.floor(Math.random() * 100000); + const assumeRoleRes = await stsRes + .assumeRole({ + RoleArn: `arn:aws:iam::${account.Id}:role/OrganizationAccountAccessRole`, + RoleSessionName: `testSession${randomNumber}`, + // One hour + DurationSeconds: 1 * 60 * 60, + }) + .promise(); + + const accessKeyId = assumeRoleRes?.Credentials?.AccessKeyId ?? ''; + const secretAccessKey = assumeRoleRes?.Credentials?.SecretAccessKey ?? ''; + const sessionToken = assumeRoleRes?.Credentials?.SessionToken ?? ''; + + return { + accessKeyId, + secretAccessKey, + sessionToken, + parent: false, + }; + }); + return await Promise.all(accountCredentialPromises); + } catch (e) { + console.error(e); + console.log( + 'Error assuming child account role. This could be because the script is already running from within a child account. Running on current AWS account only.', + ); + + return [getEnvVarCredentials()]; + } +}; + +const getEnvVarCredentials = (): AWSAccountInfo => { + if (!process.env.AWS_ACCESS_KEY_ID || !process.env.AWS_SECRET_ACCESS_KEY || !process.env.AWS_SESSION_TOKEN) { + throw Error('Credentials are missing in environment variables'); + } + + return { + accessKeyId: process.env.AWS_ACCESS_KEY_ID, + secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY, + sessionToken: process.env.AWS_SESSION_TOKEN, + parent: true, + }; +}; + +const cleanupAccount = async (account: AWSAccountInfo, accountIndex: number, filterPredicate: JobFilterPredicate): Promise => { + const cbClient = new CodeBuild(getAWSConfig(account)); + const appPromises = AWS_REGIONS_TO_RUN_TESTS.map((region) => getAmplifyApps(account, region, cbClient)); + const stackPromises = AWS_REGIONS_TO_RUN_TESTS.map((region) => getStacks(account, region, cbClient)); + const bucketPromise = getS3Buckets(account, cbClient); + const orphanPinpointApplicationsPromise = AWS_REGIONS_TO_RUN_TESTS_PINPOINT.map((region) => + getOrphanPinpointApplications(account, region), + ); + const orphanBucketPromise = getOrphanS3TestBuckets(account); + const orphanIamRolesPromise = getOrphanTestIamRoles(account); + const orphanAppSyncApisPromise = AWS_REGIONS_TO_RUN_TESTS.map((region) => getOrphanAppSyncApis(account, region)); + const orphanUserPoolsPromise = AWS_REGIONS_TO_RUN_TESTS.map((region) => getOrphanUserPools(account, region)); + + const apps = (await Promise.all(appPromises)).flat(); + const stacks = (await Promise.all(stackPromises)).flat(); + const buckets = await bucketPromise; + const orphanBuckets = await orphanBucketPromise; + const orphanIamRoles = await orphanIamRolesPromise; + const orphanPinpointApplications = (await Promise.all(orphanPinpointApplicationsPromise)).flat(); + const orphanAppSyncApis = (await Promise.all(orphanAppSyncApisPromise)).flat(); + const orphanUserPools = (await Promise.all(orphanUserPoolsPromise)).flat(); + + const allResources = mergeResourcesByCIJob( + apps, + stacks, + buckets, + orphanBuckets, + orphanIamRoles, + orphanPinpointApplications, + orphanAppSyncApis, + orphanUserPools, + ); + // cleanup resources that are but that are definitely amplify resources + // this includes apps with names that include "test" or stacks that include both "amplify" & "test" + const testApps = allResources['']?.amplifyApps?.filter((a) => a.name.toLocaleLowerCase().includes('test')); + const testStacks = allResources['']?.stacks?.filter( + (s) => s.stackName.toLocaleLowerCase().includes('test') && s.stackName.toLocaleLowerCase().includes('amplify'), + ); + const orphanedResources = allResources['']; + orphanedResources.amplifyApps = orphanedResources.amplifyApps ?? []; + orphanedResources.stacks = orphanedResources.stacks ?? []; + orphanedResources.amplifyApps.push(...(testApps ? testApps : [])); + orphanedResources.stacks.push(...(testStacks ? testStacks : [])); + const staleResources = _.pickBy(allResources, filterPredicate); + + generateReport(staleResources); + await deleteResources(account, accountIndex, staleResources); + console.log(`[ACCOUNT ${accountIndex}] Cleanup done!`); +}; + +/** + * Execute the cleanup script. + * Cleanup will happen in parallel across all accounts within a given organization, + * based on the requested filter parameters (i.e. for a given workflow, job, or all stale resources). + * Logs are emitted for given account ids anywhere we've fanned out, but we use an indexing scheme instead + * of account ids since the logs these are written to will be effectively public. + */ +const cleanup = async (): Promise => { + const filterPredicateStaleResources = (job: ReportEntry) => job?.cbInfo?.buildStatus === 'finished' || job.jobId === ORPHAN; + const accounts = await getAccountsToCleanup(); + for (let i = 0; i < 3; ++i) { + console.log('CLEANUP ROUND: ', i + 1); + await Promise.all( + accounts.map((account, i) => { + return cleanupAccount(account, i, filterPredicateStaleResources); + }), + ); + await sleep(60 * 1000); // run again after 60 seconds + } + console.log('Done cleaning all accounts!'); +}; + +void cleanup(); diff --git a/shared-scripts.sh b/shared-scripts.sh index 5ba93c62c52..47c3b9fa135 100644 --- a/shared-scripts.sh +++ b/shared-scripts.sh @@ -624,3 +624,14 @@ function _amplifyGeneralConfigTests { _loadTestAccountCredentials retry yarn general-config-e2e --no-cache --maxWorkers=3 --forceExit $TEST_SUITE } + + +function _cleanUpResources { + loadCache repo $CODEBUILD_SRC_DIR + loadCache .cache $HOME/.cache + _loadTestAccountCredentials + echo "Executing resource cleanup" + cd packages/amplify-e2e-tests/src + ts-node cleanup-codebuild-resources.ts + _unassumeTestAccountCredentials +} From 12063da253c978aa3d94dbdf20745ecb1f73e5f9 Mon Sep 17 00:00:00 2001 From: Zachary Goldberg Date: Fri, 21 Jul 2023 14:03:03 -0700 Subject: [PATCH 2/6] chore: codebuild cleanup script --- codebuild_specs/cleanup_resources.yml | 1 - codebuild_specs/e2e_workflow_base.yml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/codebuild_specs/cleanup_resources.yml b/codebuild_specs/cleanup_resources.yml index fafd5eee9ec..d44ece6dc32 100644 --- a/codebuild_specs/cleanup_resources.yml +++ b/codebuild_specs/cleanup_resources.yml @@ -5,5 +5,4 @@ phases: build: commands: - npm install -g ts-node - - source ./shared-scripts.sh && _waitForJobs aggregate_e2e_reports - source ./shared-scripts.sh && _cleanUpResources diff --git a/codebuild_specs/e2e_workflow_base.yml b/codebuild_specs/e2e_workflow_base.yml index 3afc9bc516b..975d66a09a1 100644 --- a/codebuild_specs/e2e_workflow_base.yml +++ b/codebuild_specs/e2e_workflow_base.yml @@ -112,3 +112,5 @@ batch: - upb - identifier: cleanup_resources buildspec: codebuild_specs/cleanup_resources.yml + depend-on: + - aggregate_e2e_reports From 994f66f9954c08a5a869fa81ae09476bc36a89e6 Mon Sep 17 00:00:00 2001 From: Zachary Goldberg Date: Fri, 21 Jul 2023 16:28:54 -0700 Subject: [PATCH 3/6] chore: codebuild cleanup script --- codebuild_specs/e2e_workflow_generated.yml | 2271 +------------------- shared-scripts.sh | 2 - 2 files changed, 3 insertions(+), 2270 deletions(-) diff --git a/codebuild_specs/e2e_workflow_generated.yml b/codebuild_specs/e2e_workflow_generated.yml index 1e148960d44..ece34fb561c 100644 --- a/codebuild_specs/e2e_workflow_generated.yml +++ b/codebuild_specs/e2e_workflow_generated.yml @@ -14,2278 +14,13 @@ env: batch: fast-fail: false build-graph: - - identifier: build_tests_standalone - buildspec: codebuild_specs/build_tests_standalone.yml - env: - compute-type: BUILD_GENERAL1_LARGE - - identifier: build_linux - buildspec: codebuild_specs/build_linux.yml - env: - compute-type: BUILD_GENERAL1_LARGE - - identifier: build_windows - buildspec: codebuild_specs/build_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - compute-type: BUILD_GENERAL1_LARGE - image: $WINDOWS_IMAGE_2019 - - identifier: test - buildspec: codebuild_specs/test.yml - env: - compute-type: BUILD_GENERAL1_LARGE - - identifier: mock_e2e_tests - buildspec: codebuild_specs/mock_e2e_tests.yml - env: - compute-type: BUILD_GENERAL1_LARGE - - identifier: validate_cdk_version - buildspec: codebuild_specs/validate_cdk_version.yml - - identifier: verify_api_extract - buildspec: codebuild_specs/verify_api_extract.yml - env: - compute-type: BUILD_GENERAL1_LARGE - - identifier: verify_yarn_lock - buildspec: codebuild_specs/verify_yarn_lock.yml - - identifier: publish_to_local_registry - buildspec: codebuild_specs/publish_to_local_registry.yml - env: - compute-type: BUILD_GENERAL1_LARGE - - identifier: build_pkg_binaries_arm - buildspec: codebuild_specs/build_pkg_binaries_arm.yml - env: - compute-type: BUILD_GENERAL1_LARGE - - identifier: build_pkg_binaries_linux - buildspec: codebuild_specs/build_pkg_binaries_linux.yml - env: - compute-type: BUILD_GENERAL1_LARGE - - identifier: build_pkg_binaries_macos - buildspec: codebuild_specs/build_pkg_binaries_macos.yml - env: - compute-type: BUILD_GENERAL1_LARGE - - identifier: build_pkg_binaries_win - buildspec: codebuild_specs/build_pkg_binaries_win.yml - env: - compute-type: BUILD_GENERAL1_LARGE - - identifier: upb - buildspec: codebuild_specs/upload_pkg_binaries.yml - env: - compute-type: BUILD_GENERAL1_LARGE - - identifier: verify_versions_match - buildspec: codebuild_specs/verify_versions_match.yml - - identifier: integration_test - buildspec: codebuild_specs/integration_test.yml - env: - 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 - buildspec: codebuild_specs/amplify_console_integration_tests.yml - env: - compute-type: BUILD_GENERAL1_LARGE - depend-on: - - 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 - buildspec: codebuild_specs/amplify_general_config_tests.yml - env: - compute-type: BUILD_GENERAL1_LARGE - depend-on: - - upb - - identifier: cleanup_resources - buildspec: codebuild_specs/cleanup_resources.yml - - identifier: l_diagnose_hooks_a_mock_api - buildspec: codebuild_specs/run_e2e_tests_linux.yml - 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 - depend-on: - - upb - - identifier: l_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js - buildspec: codebuild_specs/run_e2e_tests_linux.yml - 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-2 - depend-on: - - upb - - identifier: l_auth_2a_auth_2b_auth_2d - buildspec: codebuild_specs/run_e2e_tests_linux.yml - 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 - depend-on: - - upb - - identifier: l_auth_2f_notifications_lifecycle_uibuilder - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_2f.test.ts|src/__tests__/notifications-lifecycle.test.ts|src/__tests__/uibuilder.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_notifications_analytics_compatibility_in_app_1_notifications_analytics_compatibility_sms_2_analytics_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/notifications-analytics-compatibility-in-app-1.test.ts|src/__tests__/notifications-analytics-compatibility-sms-2.test.ts|src/__tests__/analytics-2.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_global_sandbox_c_hooks_b_notifications_analytics_compatibility_sms_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/global_sandbox-c.test.ts|src/__tests__/hooks-b.test.ts|src/__tests__/notifications-analytics-compatibility-sms-1.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_plugin_studio_modelgen_custom_transformers - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/plugin.test.ts|src/__tests__/studio-modelgen.test.ts|src/__tests__/graphql-v2/custom-transformers.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_notifications_in_app_messaging_env_1_notifications_sms_pull_pull - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/notifications-in-app-messaging-env-1.test.ts|src/__tests__/notifications-sms-pull.test.ts|src/__tests__/pull.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_auth_10_container_hosting_init_b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_10.test.ts|src/__tests__/container-hosting.test.ts|src/__tests__/init_b.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_notifications_apns_notifications_fcm_notifications_in_app_messaging_env_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/notifications-apns.test.ts|src/__tests__/notifications-fcm.test.ts|src/__tests__/notifications-in-app-messaging-env-2.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_with_babel_config_amplify_configure_env_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/with-babel-config.test.ts|src/__tests__/amplify-configure.test.ts|src/__tests__/env-2.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_init_d_init_f_auth_5d - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/init_d.test.ts|src/__tests__/init_f.test.ts|src/__tests__/auth_5d.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_configure_project_git_clone_attach_init_c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/configure-project.test.ts|src/__tests__/git-clone-attach.test.ts|src/__tests__/init_c.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_layer_4_function_2c_function_3b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/layer-4.test.ts|src/__tests__/function_2c.test.ts|src/__tests__/function_3b.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_function_4_interactions_schema_model_a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/function_4.test.ts|src/__tests__/interactions.test.ts|src/__tests__/schema-model-a.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_tags_auth_1a_auth_trigger - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/tags.test.ts|src/__tests__/auth_1a.test.ts|src/__tests__/auth-trigger.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_custom_policies_function_function_6_storage_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/custom_policies_function.test.ts|src/__tests__/function_6.test.ts|src/__tests__/storage-2.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_export_iam_permissions_boundary_node_function - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/export.test.ts|src/__tests__/iam-permissions-boundary.test.ts|src/__tests__/migration/node.function.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_notifications_sms_schema_auth_4b_schema_model_e - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/notifications-sms.test.ts|src/__tests__/schema-auth-4b.test.ts|src/__tests__/schema-model-e.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_schema_versioned_auth_1c_auth_5e - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-versioned.test.ts|src/__tests__/auth_1c.test.ts|src/__tests__/auth_5e.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_auth_8b_geo_add_b_s3_sse - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_8b.test.ts|src/__tests__/geo-add-b.test.ts|src/__tests__/s3-sse.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_schema_auth_4a_schema_model_b_schema_model_d - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-auth-4a.test.ts|src/__tests__/schema-model-b.test.ts|src/__tests__/schema-model-d.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_auth_5f_env_4_frontend_config_drift - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_5f.test.ts|src/__tests__/env-4.test.ts|src/__tests__/frontend_config_drift.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_schema_auth_4d_schema_auth_6a_schema_data_access_patterns - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-auth-4d.test.ts|src/__tests__/schema-auth-6a.test.ts|src/__tests__/schema-data-access-patterns.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_schema_model_c_schema_predictions_model_migration - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-model-c.test.ts|src/__tests__/schema-predictions.test.ts|src/__tests__/transformer-migrations/model-migration.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_auth_3c_auth_4c_auth_5a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_3c.test.ts|src/__tests__/auth_4c.test.ts|src/__tests__/auth_5a.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_auth_5c_env_1_geo_add_a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_5c.test.ts|src/__tests__/env-1.test.ts|src/__tests__/geo-add-a.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_init_a_schema_auth_4c_schema_auth_5c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/init_a.test.ts|src/__tests__/schema-auth-4c.test.ts|src/__tests__/schema-auth-5c.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_auth_5b_auth_9_custom_resources - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_5b.test.ts|src/__tests__/auth_9.test.ts|src/__tests__/custom_resources.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_env_5_function_10_function_9c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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 - depend-on: - - upb - - identifier: l_function_permissions_geo_import_1a_geo_import_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: eu-west-2 - depend-on: - - upb - - identifier: l_global_sandbox_b_schema_auth_5d_schema_auth_6b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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-2 - depend-on: - - upb - - identifier: l_schema_auth_8c_auth_3a_auth_3b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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 - depend-on: - - upb - - identifier: l_auth_4a_auth_7a_auth_8c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_4a.test.ts|src/__tests__/auth_7a.test.ts|src/__tests__/auth_8c.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_feature_flags_geo_import_1b_global_sandbox_a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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-northeast-1 - depend-on: - - upb - - identifier: l_init_e_notifications_analytics_compatibility_in_app_2_schema_auth_11_c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/init_e.test.ts|src/__tests__/notifications-analytics-compatibility-in-app-2.test.ts|src/__tests__/schema-auth-11-c.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_schema_auth_2b_schema_auth_6c_schema_auth_6d - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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-east-2 - depend-on: - - upb - - identifier: l_schema_auth_7c_schema_auth_8a_function_migration - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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-1 - depend-on: - - upb - - identifier: l_api_10_api_7_export_pull_a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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 - depend-on: - - upb - - identifier: l_function_9a_geo_headless_api_key_migration5 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: ap-northeast-1 - depend-on: - - upb - - identifier: l_schema_auth_1a_schema_auth_5b_schema_auth_8b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: ap-southeast-1 - depend-on: - - upb - - identifier: l_schema_auth_9_a_schema_auth_9_c_storage_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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 - depend-on: - - upb - - identifier: l_auth_11_auth_1b_delete - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_11.test.ts|src/__tests__/auth_1b.test.ts|src/__tests__/delete.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_geo_add_c_geo_add_d_geo_import_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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-west-2 - depend-on: - - upb - - identifier: l_hosting_layer_3_api_connection_migration - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/hosting.test.ts|src/__tests__/layer-3.test.ts|src/__tests__/migration/api.connection.migration.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_api_key_migration3_predictions_schema_auth_11_b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: us-west-2 - depend-on: - - upb - - identifier: l_schema_auth_1b_schema_auth_2a_schema_auth_7a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-auth-1b.test.ts|src/__tests__/schema-auth-2a.test.ts|src/__tests__/schema-auth-7a.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_schema_auth_7b_schema_auth_9_b_schema_iterative_rollback_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-auth-7b.test.ts|src/__tests__/schema-auth-9-b.test.ts|src/__tests__/schema-iterative-rollback-1.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_predictions_migration_api_6a_auth_7b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/transformer-migrations/predictions-migration.test.ts|src/__tests__/api_6a.test.ts|src/__tests__/auth_7b.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_export_pull_b_function_3a_init_special_case - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/export-pull-b.test.ts|src/__tests__/function_3a.test.ts|src/__tests__/init-special-case.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_http_migration_schema_auth_12_schema_auth_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/transformer-migrations/http-migration.test.ts|src/__tests__/schema-auth-12.test.ts|src/__tests__/schema-auth-3.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_schema_function_2_auth_4b_auth_8a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-function-2.test.ts|src/__tests__/auth_4b.test.ts|src/__tests__/auth_8a.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_export_pull_d_schema_auth_5a_schema_iterative_rollback_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/export-pull-d.test.ts|src/__tests__/schema-auth-5a.test.ts|src/__tests__/schema-iterative-rollback-2.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_schema_iterative_update_3_auth_migration_api_2a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-iterative-update-3.test.ts|src/__tests__/transformer-migrations/auth-migration.test.ts|src/__tests__/api_2a.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_api_2b_api_6c_api_9a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/api_2b.test.ts|src/__tests__/api_6c.test.ts|src/__tests__/api_9a.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_auth_12_auth_2g_auth_2h - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_12.test.ts|src/__tests__/auth_2g.test.ts|src/__tests__/auth_2h.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_auth_5g_hosted_ui_user_groups - 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.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_build_function_custom_resource_with_storage_dynamodb_simulator - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - 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_export_pull_c_function_12_function_13 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - 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: ap-northeast-1 - depend-on: - - upb - - identifier: l_function_14_function_15_function_2d - buildspec: codebuild_specs/run_e2e_tests_linux.yml - 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 - depend-on: - - upb - - identifier: l_general_config_headless_init_help_hooks_c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - 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-central-1 - depend-on: - - upb - - identifier: l_init_force_push_interactions_1_interactions_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - 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_minify_cloudformation_notifications_multi_env_notifications_sms_update - buildspec: codebuild_specs/run_e2e_tests_linux.yml - 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-east-1 - depend-on: - - upb - - identifier: l_opensearch_simulator_parameter_store_1_parameter_store_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - 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-central-1 - depend-on: - - upb - - 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-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: ap-northeast-1 - depend-on: - - upb - - 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/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: us-east-2 - depend-on: - - upb - - 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-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: ap-southeast-1 - depend-on: - - upb - - identifier: l_pull_2_push_smoketest - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/pull-2.test.ts|src/__tests__/push.test.ts|src/__tests__/smoketest.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_S3server_api_8_function_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: ap-northeast-1 - depend-on: - - upb - - identifier: l_schema_iterative_update_locking_api_lambda_auth_2_layer_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-iterative-update-locking.test.ts|src/__tests__/graphql-v2/api_lambda_auth_2.test.ts|src/__tests__/layer-2.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_schema_auth_13_function_5_schema_iterative_update_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_auth_6_function_2a_schema_connection_2 - 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: ap-northeast-1 - depend-on: - - upb - - identifier: l_schema_function_1_api_9b_custom_policies_container - 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: us-east-2 - depend-on: - - upb - - identifier: l_function_9b_schema_iterative_update_2_storage_1a - 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: eu-central-1 - depend-on: - - upb - - identifier: l_storage_1b_function_11_function_2b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_function_7_api_connection_migration2_api_4 - 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-1 - depend-on: - - upb - - identifier: l_containers_api_secrets_storage_4_schema_auth_10 - 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 - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_geo_multi_env_searchable_datastore_resolvers - 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: eu-central-1 - depend-on: - - upb - - identifier: l_schema_key_api_5_apigw - 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: ap-southeast-1 - depend-on: - - upb - - identifier: l_api_lambda_auth_1_api_key_migration2_schema_searchable - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/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-northeast-1 - depend-on: - - upb - - identifier: l_api_key_migration1_schema_auth_14_api_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/migration/api.key.migration1.test.ts|src/__tests__/schema-auth-14.test.ts|src/__tests__/api_3.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_api_6b_api_1_layer_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: eu-west-2 - depend-on: - - upb - - identifier: l_api_key_migration4_schema_iterative_update_4_function_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/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 - depend-on: - - upb - - identifier: l_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: us-east-2 - depend-on: - - upb - - identifier: l_datastore_modelgen - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/datastore-modelgen.test.ts - CLI_REGION: us-east-2 - DISABLE_COVERAGE: 1 - depend-on: - - upb - - identifier: l_amplify_app - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/amplify-app.test.ts - CLI_REGION: us-east-1 - DISABLE_COVERAGE: 1 - depend-on: - - upb - - identifier: l_auth_2c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/auth_2c.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_auth_2e - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/auth_2e.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_geo_remove_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/geo-remove-3.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_geo_add_f - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/geo-add-f.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_geo_add_e - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/geo-add-e.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_import_dynamodb_2c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_dynamodb_2c.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_env_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/env-3.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_geo_remove_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/geo-remove-2.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_notifications_in_app_messaging - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_import_auth_2a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_auth_2a.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_import_auth_1a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_auth_1a.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_import_auth_2b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_auth_2b.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_import_s3_2a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_s3_2a.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_import_s3_2c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_s3_2c.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_import_auth_1b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_auth_1b.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_schema_auth_11_a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/schema-auth-11-a.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_geo_update_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/geo-update-1.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_geo_update_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/geo-update-2.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_import_s3_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_s3_3.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_import_dynamodb_2b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_dynamodb_2b.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_hostingPROD - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/hostingPROD.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_import_s3_2b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_s3_2b.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_containers_api_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_schema_auth_15 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/schema-auth-15.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_schema_connection_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/schema-connection-1.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_import_auth_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_auth_3.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_import_dynamodb_2a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_dynamodb_2a.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_containers_api_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/containers-api-2.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_import_s3_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_s3_1.test.ts - CLI_REGION: eu-west-2 - USE_PARENT_ACCOUNT: 1 - depend-on: - - upb - - identifier: l_searchable_migration - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/transformer-migrations/searchable-migration.test.ts - CLI_REGION: ap-northeast-1 - USE_PARENT_ACCOUNT: 1 - depend-on: - - upb - - identifier: l_geo_remove_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/geo-remove-1.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_import_dynamodb_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/import_dynamodb_1.test.ts - CLI_REGION: us-east-2 - USE_PARENT_ACCOUNT: 1 - depend-on: - - upb - - identifier: w_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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 - depend-on: - - build_windows - - upb - - identifier: w_auth_2a_auth_2b_auth_2d - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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-2 - depend-on: - - build_windows - - upb - - identifier: w_auth_2f_notifications_lifecycle_notifications_analytics_compatibility_in_app_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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: eu-west-2 - depend-on: - - build_windows - - upb - - identifier: w_notifications_analytics_compatibility_sms_2_analytics_2_global_sandbox_c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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-central-1 - depend-on: - - build_windows - - upb - - identifier: w_hooks_b_notifications_analytics_compatibility_sms_1_plugin - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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 - depend-on: - - build_windows - - upb - - identifier: w_studio_modelgen_custom_transformers_notifications_in_app_messaging_env_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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 - depend-on: - - build_windows - - upb - - identifier: w_notifications_sms_pull_auth_10_container_hosting - 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-pull.test.ts|src/__tests__/auth_10.test.ts|src/__tests__/container-hosting.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - build_windows - - upb - - identifier: w_init_b_notifications_apns_notifications_fcm - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/init_b.test.ts|src/__tests__/notifications-apns.test.ts|src/__tests__/notifications-fcm.test.ts - CLI_REGION: us-west-2 - depend-on: - - build_windows - - upb - - identifier: w_notifications_in_app_messaging_env_2_with_babel_config_amplify_configure - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/notifications-in-app-messaging-env-2.test.ts|src/__tests__/with-babel-config.test.ts|src/__tests__/amplify-configure.test.ts - CLI_REGION: eu-central-1 - depend-on: - - build_windows - - upb - - identifier: w_init_d_init_f_auth_5d - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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: eu-west-2 - depend-on: - - build_windows - - upb - - identifier: w_configure_project_init_c_layer_4 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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: ap-southeast-2 - depend-on: - - build_windows - - upb - - identifier: w_function_2c_interactions_schema_model_a - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/function_2c.test.ts|src/__tests__/interactions.test.ts|src/__tests__/schema-model-a.test.ts - CLI_REGION: us-west-2 - depend-on: - - build_windows - - upb - - identifier: w_tags_auth_1a_auth_trigger - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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-west-2 - depend-on: - - build_windows - - upb - - identifier: w_custom_policies_function_storage_2_iam_permissions_boundary - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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 - depend-on: - - build_windows - - upb - - identifier: w_node_function_notifications_sms_schema_auth_4b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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: eu-west-2 - depend-on: - - build_windows - - upb - - identifier: w_schema_model_e_schema_versioned_auth_1c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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-west-2 - depend-on: - - build_windows - - upb - - identifier: w_auth_5e_auth_8b_geo_add_b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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: ap-northeast-1 - depend-on: - - build_windows - - upb - - identifier: w_s3_sse_schema_auth_4a_schema_model_b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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-west-2 - depend-on: - - build_windows - - upb - - identifier: w_schema_model_d_auth_5f_env_4 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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-2 - depend-on: - - build_windows - - upb - - identifier: w_frontend_config_drift_schema_auth_4d_schema_auth_6a - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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-northeast-1 - depend-on: - - build_windows - - upb - - identifier: w_schema_data_access_patterns_schema_model_c_schema_predictions - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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: ap-northeast-1 - depend-on: - - build_windows - - upb - - identifier: w_model_migration_auth_3c_auth_4c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_auth_5a_auth_5c_env_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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-1 - depend-on: - - build_windows - - upb - - identifier: w_geo_add_a_init_a_schema_auth_4c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/geo-add-a.test.ts|src/__tests__/init_a.test.ts|src/__tests__/schema-auth-4c.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_5c_auth_5b_auth_9 - 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-5c.test.ts|src/__tests__/auth_5b.test.ts|src/__tests__/auth_9.test.ts - CLI_REGION: eu-central-1 - depend-on: - - build_windows - - upb - - identifier: w_custom_resources_env_5_function_10 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/custom_resources.test.ts|src/__tests__/env-5.test.ts|src/__tests__/function_10.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_function_9c_function_permissions_geo_import_1a - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/function_9c.test.ts|src/__tests__/function-permissions.test.ts|src/__tests__/geo-import-1a.test.ts - CLI_REGION: eu-west-2 - depend-on: - - build_windows - - upb - - identifier: w_geo_import_2_global_sandbox_b_schema_auth_5d - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/geo-import-2.test.ts|src/__tests__/global_sandbox-b.test.ts|src/__tests__/schema-auth-5d.test.ts - CLI_REGION: us-east-2 - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_6b_schema_auth_8c_auth_3a - 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-6b.test.ts|src/__tests__/schema-auth-8c.test.ts|src/__tests__/auth_3a.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - build_windows - - upb - - identifier: w_auth_3b_auth_4a_auth_7a - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/auth_3b.test.ts|src/__tests__/auth_4a.test.ts|src/__tests__/auth_7a.test.ts - CLI_REGION: eu-central-1 - depend-on: - - build_windows - - upb - - identifier: w_auth_8c_feature_flags_geo_import_1b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/auth_8c.test.ts|src/__tests__/feature-flags.test.ts|src/__tests__/geo-import-1b.test.ts - CLI_REGION: us-west-2 - depend-on: - - build_windows - - upb - - identifier: w_global_sandbox_a_init_e_notifications_analytics_compatibility_in_app_2 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/global_sandbox-a.test.ts|src/__tests__/init_e.test.ts|src/__tests__/notifications-analytics-compatibility-in-app-2.test.ts - CLI_REGION: us-west-2 - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_11_c_schema_auth_2b_schema_auth_6c - 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-11-c.test.ts|src/__tests__/schema-auth-2b.test.ts|src/__tests__/schema-auth-6c.test.ts - CLI_REGION: eu-west-2 - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_6d_schema_auth_7c_schema_auth_8a - 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-6d.test.ts|src/__tests__/schema-auth-7c.test.ts|src/__tests__/schema-auth-8a.test.ts - CLI_REGION: eu-central-1 - depend-on: - - build_windows - - upb - - identifier: w_function_migration_api_10_api_7 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/transformer-migrations/function-migration.test.ts|src/__tests__/api_10.test.ts|src/__tests__/api_7.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - build_windows - - upb - - identifier: w_export_pull_a_function_9a_geo_headless - 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-a.test.ts|src/__tests__/function_9a.test.ts|src/__tests__/geo-headless.test.ts - CLI_REGION: eu-central-1 - depend-on: - - build_windows - - upb - - identifier: w_api_key_migration5_schema_auth_1a_schema_auth_5b - 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.migration5.test.ts|src/__tests__/schema-auth-1a.test.ts|src/__tests__/schema-auth-5b.test.ts - CLI_REGION: eu-central-1 - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_8b_schema_auth_9_a_schema_auth_9_c - 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-8b.test.ts|src/__tests__/schema-auth-9-a.test.ts|src/__tests__/schema-auth-9-c.test.ts - CLI_REGION: us-east-2 - depend-on: - - build_windows - - upb - - identifier: w_storage_3_auth_11_auth_1b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/storage-3.test.ts|src/__tests__/auth_11.test.ts|src/__tests__/auth_1b.test.ts - CLI_REGION: us-west-2 - depend-on: - - build_windows - - upb - - identifier: w_delete_geo_add_c_geo_add_d - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/delete.test.ts|src/__tests__/geo-add-c.test.ts|src/__tests__/geo-add-d.test.ts - CLI_REGION: us-west-2 - depend-on: - - build_windows - - upb - - identifier: w_geo_import_3_hosting_layer_3 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/geo-import-3.test.ts|src/__tests__/hosting.test.ts|src/__tests__/layer-3.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - build_windows - - upb - - identifier: w_api_connection_migration_api_key_migration3_predictions - 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.migration.test.ts|src/__tests__/migration/api.key.migration3.test.ts|src/__tests__/predictions.test.ts - CLI_REGION: eu-west-2 - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_11_b_schema_auth_1b_schema_auth_2a - 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-11-b.test.ts|src/__tests__/schema-auth-1b.test.ts|src/__tests__/schema-auth-2a.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_7a_schema_auth_7b_schema_auth_9_b - 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-7a.test.ts|src/__tests__/schema-auth-7b.test.ts|src/__tests__/schema-auth-9-b.test.ts - CLI_REGION: us-west-2 - depend-on: - - build_windows - - upb - - identifier: w_predictions_migration_api_6a_auth_7b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/transformer-migrations/predictions-migration.test.ts|src/__tests__/api_6a.test.ts|src/__tests__/auth_7b.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_export_pull_b_init_special_case_http_migration - 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-b.test.ts|src/__tests__/init-special-case.test.ts|src/__tests__/transformer-migrations/http-migration.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_12_schema_auth_3_schema_function_2 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/schema-auth-12.test.ts|src/__tests__/schema-auth-3.test.ts|src/__tests__/schema-function-2.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - build_windows - - upb - - identifier: w_auth_4b_auth_8a_export_pull_d - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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 - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_5a_schema_iterative_update_3_auth_migration - 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-5a.test.ts|src/__tests__/schema-iterative-update-3.test.ts|src/__tests__/transformer-migrations/auth-migration.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - build_windows - - upb - - identifier: w_api_2a_api_2b_api_6c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - 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-1 - depend-on: - - build_windows - - upb - - identifier: w_api_9a_auth_2h_auth_5g - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/api_9a.test.ts|src/__tests__/auth_2h.test.ts|src/__tests__/auth_5g.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_hosted_ui_user_groups_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__/auth/hosted-ui.test.ts|src/__tests__/auth/user-groups.test.ts|src/__tests__/build-function.test.ts - CLI_REGION: us-west-2 - depend-on: - - build_windows - - upb - - identifier: w_custom_resource_with_storage_dynamodb_simulator_export_pull_c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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 - CLI_REGION: us-west-2 - depend-on: - - build_windows - - upb - - identifier: w_function_12_function_13_function_14 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/function_12.test.ts|src/__tests__/function_13.test.ts|src/__tests__/function_14.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - build_windows - - upb - - identifier: w_function_2d_general_config_headless_init_help - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/function_2d.test.ts|src/__tests__/general-config/general-config-headless-init.test.ts|src/__tests__/help.test.ts - CLI_REGION: eu-central-1 - depend-on: - - build_windows - - upb - - identifier: w_init_force_push_interactions_1_interactions_2 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/init-force-push.test.ts|src/__tests__/interactions-1.test.ts|src/__tests__/interactions-2.test.ts - CLI_REGION: us-west-2 - depend-on: - - build_windows - - upb - - identifier: w_minify_cloudformation_notifications_multi_env_notifications_sms_update - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/minify-cloudformation.test.ts|src/__tests__/notifications-multi-env.test.ts|src/__tests__/notifications-sms-update.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_parameter_store_1_parameter_store_2_push - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/parameter-store-1.test.ts|src/__tests__/parameter-store-2.test.ts|src/__tests__/push.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - build_windows - - upb - - identifier: w_api_8_schema_iterative_update_locking_api_lambda_auth_2 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/api_8.test.ts|src/__tests__/schema-iterative-update-locking.test.ts|src/__tests__/graphql-v2/api_lambda_auth_2.test.ts - CLI_REGION: us-west-2 - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_13_function_5_schema_iterative_update_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts - CLI_REGION: eu-west-2 - depend-on: - - build_windows - - upb - - identifier: w_auth_6_function_2a_schema_connection_2 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/auth_6.test.ts|src/__tests__/function_2a.test.ts|src/__tests__/schema-connection-2.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - build_windows - - upb - - identifier: w_schema_function_1_api_9b_custom_policies_container - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/schema-function-1.test.ts|src/__tests__/api_9b.test.ts|src/__tests__/custom_policies_container.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_function_9b_schema_iterative_update_2_storage_1a - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/function_9b.test.ts|src/__tests__/schema-iterative-update-2.test.ts|src/__tests__/storage-1a.test.ts - CLI_REGION: us-east-2 - depend-on: - - build_windows - - upb - - identifier: w_storage_1b_function_11_function_2b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_api_connection_migration2_api_4_containers_api_secrets - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/migration/api.connection.migration2.test.ts|src/__tests__/api_4.test.ts|src/__tests__/containers-api-secrets.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - build_windows - - upb - - identifier: w_storage_4_schema_auth_10_geo_multi_env - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/storage-4.test.ts|src/__tests__/schema-auth-10.test.ts|src/__tests__/geo-multi-env.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - build_windows - - upb - - identifier: w_searchable_datastore_resolvers_schema_key - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/graphql-v2/searchable-datastore.test.ts|src/__tests__/resolvers.test.ts|src/__tests__/schema-key.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_api_5_apigw_api_lambda_auth_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/api_5.test.ts|src/__tests__/apigw.test.ts|src/__tests__/graphql-v2/api_lambda_auth_1.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - build_windows - - upb - - identifier: w_api_key_migration2_schema_searchable_api_key_migration1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/migration/api.key.migration2.test.ts|src/__tests__/schema-searchable.test.ts|src/__tests__/migration/api.key.migration1.test.ts - CLI_REGION: us-east-2 - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_14_api_3_api_6b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/schema-auth-14.test.ts|src/__tests__/api_3.test.ts|src/__tests__/api_6b.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_api_1_layer_1_api_key_migration4 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/api_1.test.ts|src/__tests__/layer-1.test.ts|src/__tests__/migration/api.key.migration4.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_schema_iterative_update_4_function_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/schema-iterative-update-4.test.ts|src/__tests__/function_1.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_auth_2c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/auth_2c.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - build_windows - - upb - - identifier: w_auth_2e - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/auth_2e.test.ts - CLI_REGION: us-east-2 - depend-on: - - build_windows - - upb - - identifier: w_env_3 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/env-3.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - build_windows - - upb - - identifier: w_notifications_in_app_messaging - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_11_a - 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-11-a.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - build_windows - - upb - - identifier: w_import_s3_3 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/import_s3_3.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_hostingPROD - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/hostingPROD.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_containers_api_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_15 - 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-15.test.ts - CLI_REGION: eu-central-1 - depend-on: - - build_windows - - upb - - identifier: w_schema_connection_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-connection-1.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - build_windows - - upb - - identifier: w_containers_api_2 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/containers-api-2.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_import_s3_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/import_s3_1.test.ts - CLI_REGION: us-west-2 - USE_PARENT_ACCOUNT: 1 - depend-on: - - build_windows - - upb - - identifier: w_searchable_migration - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/transformer-migrations/searchable-migration.test.ts - CLI_REGION: us-west-2 - USE_PARENT_ACCOUNT: 1 - depend-on: - - build_windows - - upb - - identifier: w_geo_remove_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/geo-remove-1.test.ts - CLI_REGION: us-east-1 - depend-on: - - build_windows - - upb - - identifier: w_import_dynamodb_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/import_dynamodb_1.test.ts - CLI_REGION: us-east-1 - USE_PARENT_ACCOUNT: 1 - depend-on: - - build_windows - - upb - - identifier: l_notifications_migration_4_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-4.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_api_key_migration_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests/transformer_migration/api.key.migration.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_notifications_migration_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_api_key_migration_2_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests/transformer_migration/api.key.migration-2.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_notifications_migration_2_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-2.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_function_migration_update_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/update_tests/function_migration_update.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_notifications_migration_3_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-3.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_scaffold_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v10/scaffold.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_api_graphql_v2_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v10/api-graphql-v2.migration.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_api_rest_basic_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-basic.migration.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_api_rest_lambda_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-lambda.migration.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_api_rest_serverless_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-serverless.migration.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_auth_add_all_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v10/auth-add-all.migration.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_auth_override_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v10/auth-override.migration.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_custom_stack_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v10/custom-stack.migration.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_geo_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v10/geo.migration.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_git_clone_migration_tests_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v10/git-clone-migration-tests.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_pinpoint_region_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v10/pinpoint-region.migration.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_storage_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v10/storage.migration.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_auth_app_client_secret_migration_v12 - buildspec: codebuild_specs/migration_tests_v12.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v12/auth-app-client-secret-migration.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_auth_hosted_ui_lambda_migration_v12 - buildspec: codebuild_specs/migration_tests_v12.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v12/auth-hosted-ui-lambda-migration.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_auth_lambda_callout_migration_rollback_v12 - buildspec: codebuild_specs/migration_tests_v12.yml - env: - 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 - depend-on: - - upb - - identifier: l_auth_lambda_callout_migration_v12 - buildspec: codebuild_specs/migration_tests_v12.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v12/auth-lambda-callout-migration.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_auth_oauth_lambda_migration_v12 - buildspec: codebuild_specs/migration_tests_v12.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v12/auth-oauth-lambda-migration.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_auth_migration_v12 - buildspec: codebuild_specs/migration_tests_v12.yml - env: - variables: - compute-type: BUILD_GENERAL1_SMALL - TEST_SUITE: src/__tests__/migration_tests_v12/auth.migration.test.ts - CLI_REGION: ap-southeast-1 + - identifier: cleanup_resources + buildspec: codebuild_specs/cleanup_resources.yml depend-on: - - upb + - aggregate_e2e_reports - identifier: aggregate_e2e_reports env: compute-type: BUILD_GENERAL1_MEDIUM variables: WAIT_FOR_IDS_FILE_PATH: ./codebuild_specs/wait_for_ids.json buildspec: codebuild_specs/aggregate_e2e_reports.yml - depend-on: - - upb diff --git a/shared-scripts.sh b/shared-scripts.sh index 47c3b9fa135..eb877210072 100644 --- a/shared-scripts.sh +++ b/shared-scripts.sh @@ -627,8 +627,6 @@ function _amplifyGeneralConfigTests { function _cleanUpResources { - loadCache repo $CODEBUILD_SRC_DIR - loadCache .cache $HOME/.cache _loadTestAccountCredentials echo "Executing resource cleanup" cd packages/amplify-e2e-tests/src From 413efc022ade87dbc8bf2167a86794091984edbc Mon Sep 17 00:00:00 2001 From: Zachary Goldberg Date: Fri, 21 Jul 2023 16:41:43 -0700 Subject: [PATCH 4/6] chore: codebuild cleanup script --- codebuild_specs/aggregate_e2e_reports.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codebuild_specs/aggregate_e2e_reports.yml b/codebuild_specs/aggregate_e2e_reports.yml index 81fb6670fd2..5ad4191d63a 100644 --- a/codebuild_specs/aggregate_e2e_reports.yml +++ b/codebuild_specs/aggregate_e2e_reports.yml @@ -10,9 +10,13 @@ phases: - ts-node ./wait-for-all-codebuild.ts $CODEBUILD_RESOLVED_SOURCE_VERSION ../$WAIT_FOR_IDS_FILE_PATH $PROJECT_NAME - cd .. - source ./shared-scripts.sh && _downloadReportsFromS3 $CODEBUILD_SOURCE_VERSION + - mkdir artifacts && echo "empty artifact" > artifacts/empty-artifact.txt reports: e2e-reports: files: - '*.xml' file-format: 'JUNITXML' base-directory: '$CODEBUILD_SRC_DIR/aggregate_reports' +artifacts: + files: + - 'artifacts/*' From a74262a2b68683583a0aa9d0d61118ed467fa97f Mon Sep 17 00:00:00 2001 From: Zachary Goldberg Date: Fri, 21 Jul 2023 17:00:49 -0700 Subject: [PATCH 5/6] chore: codebuild cleanup script --- shared-scripts.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shared-scripts.sh b/shared-scripts.sh index eb877210072..a8520220eff 100644 --- a/shared-scripts.sh +++ b/shared-scripts.sh @@ -629,7 +629,8 @@ function _amplifyGeneralConfigTests { function _cleanUpResources { _loadTestAccountCredentials echo "Executing resource cleanup" - cd packages/amplify-e2e-tests/src - ts-node cleanup-codebuild-resources.ts + cd packages/amplify-e2e-tests + yarn install + ts-node ./src/cleanup-codebuild-resources.ts _unassumeTestAccountCredentials } From ca676bead1d32f60e29b8376a6cd9dbfe37a56ca Mon Sep 17 00:00:00 2001 From: Zachary Goldberg Date: Fri, 21 Jul 2023 17:16:00 -0700 Subject: [PATCH 6/6] chore: codebuild cleanup script --- codebuild_specs/e2e_workflow_generated.yml | 2269 +++++++++++++++++++- 1 file changed, 2268 insertions(+), 1 deletion(-) diff --git a/codebuild_specs/e2e_workflow_generated.yml b/codebuild_specs/e2e_workflow_generated.yml index ece34fb561c..d55f6ee601e 100644 --- a/codebuild_specs/e2e_workflow_generated.yml +++ b/codebuild_specs/e2e_workflow_generated.yml @@ -14,13 +14,2280 @@ env: batch: fast-fail: false build-graph: + - identifier: build_tests_standalone + buildspec: codebuild_specs/build_tests_standalone.yml + env: + compute-type: BUILD_GENERAL1_LARGE + - identifier: build_linux + buildspec: codebuild_specs/build_linux.yml + env: + compute-type: BUILD_GENERAL1_LARGE + - identifier: build_windows + buildspec: codebuild_specs/build_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + compute-type: BUILD_GENERAL1_LARGE + image: $WINDOWS_IMAGE_2019 + - identifier: test + buildspec: codebuild_specs/test.yml + env: + compute-type: BUILD_GENERAL1_LARGE + - identifier: mock_e2e_tests + buildspec: codebuild_specs/mock_e2e_tests.yml + env: + compute-type: BUILD_GENERAL1_LARGE + - identifier: validate_cdk_version + buildspec: codebuild_specs/validate_cdk_version.yml + - identifier: verify_api_extract + buildspec: codebuild_specs/verify_api_extract.yml + env: + compute-type: BUILD_GENERAL1_LARGE + - identifier: verify_yarn_lock + buildspec: codebuild_specs/verify_yarn_lock.yml + - identifier: publish_to_local_registry + buildspec: codebuild_specs/publish_to_local_registry.yml + env: + compute-type: BUILD_GENERAL1_LARGE + - identifier: build_pkg_binaries_arm + buildspec: codebuild_specs/build_pkg_binaries_arm.yml + env: + compute-type: BUILD_GENERAL1_LARGE + - identifier: build_pkg_binaries_linux + buildspec: codebuild_specs/build_pkg_binaries_linux.yml + env: + compute-type: BUILD_GENERAL1_LARGE + - identifier: build_pkg_binaries_macos + buildspec: codebuild_specs/build_pkg_binaries_macos.yml + env: + compute-type: BUILD_GENERAL1_LARGE + - identifier: build_pkg_binaries_win + buildspec: codebuild_specs/build_pkg_binaries_win.yml + env: + compute-type: BUILD_GENERAL1_LARGE + - identifier: upb + buildspec: codebuild_specs/upload_pkg_binaries.yml + env: + compute-type: BUILD_GENERAL1_LARGE + - identifier: verify_versions_match + buildspec: codebuild_specs/verify_versions_match.yml + - identifier: integration_test + buildspec: codebuild_specs/integration_test.yml + env: + 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 + buildspec: codebuild_specs/amplify_console_integration_tests.yml + env: + compute-type: BUILD_GENERAL1_LARGE + depend-on: + - 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 + buildspec: codebuild_specs/amplify_general_config_tests.yml + env: + compute-type: BUILD_GENERAL1_LARGE + depend-on: + - upb - identifier: cleanup_resources buildspec: codebuild_specs/cleanup_resources.yml depend-on: - - aggregate_e2e_reports + - aggregate_e2e_reports + - identifier: l_diagnose_hooks_a_mock_api + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/diagnose.test.ts|src/__tests__/hooks-a.test.ts|src/__tests__/mock-api.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js + buildspec: codebuild_specs/run_e2e_tests_linux.yml + 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: us-west-2 + depend-on: + - upb + - identifier: l_auth_2a_auth_2b_auth_2d + buildspec: codebuild_specs/run_e2e_tests_linux.yml + 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 + depend-on: + - upb + - identifier: l_auth_2f_notifications_lifecycle_uibuilder + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/auth_2f.test.ts|src/__tests__/notifications-lifecycle.test.ts|src/__tests__/uibuilder.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_notifications_analytics_compatibility_in_app_1_notifications_analytics_compatibility_sms_2_analytics_2 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/notifications-analytics-compatibility-in-app-1.test.ts|src/__tests__/notifications-analytics-compatibility-sms-2.test.ts|src/__tests__/analytics-2.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_global_sandbox_c_hooks_b_notifications_analytics_compatibility_sms_1 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/global_sandbox-c.test.ts|src/__tests__/hooks-b.test.ts|src/__tests__/notifications-analytics-compatibility-sms-1.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_plugin_studio_modelgen_custom_transformers + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/plugin.test.ts|src/__tests__/studio-modelgen.test.ts|src/__tests__/graphql-v2/custom-transformers.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_notifications_in_app_messaging_env_1_notifications_sms_pull_pull + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/notifications-in-app-messaging-env-1.test.ts|src/__tests__/notifications-sms-pull.test.ts|src/__tests__/pull.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - upb + - identifier: l_auth_10_container_hosting_init_b + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/auth_10.test.ts|src/__tests__/container-hosting.test.ts|src/__tests__/init_b.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - upb + - identifier: l_notifications_apns_notifications_fcm_notifications_in_app_messaging_env_2 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/notifications-apns.test.ts|src/__tests__/notifications-fcm.test.ts|src/__tests__/notifications-in-app-messaging-env-2.test.ts + CLI_REGION: eu-west-2 + depend-on: + - upb + - identifier: l_with_babel_config_amplify_configure_env_2 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/with-babel-config.test.ts|src/__tests__/amplify-configure.test.ts|src/__tests__/env-2.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_init_d_init_f_auth_5d + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/init_d.test.ts|src/__tests__/init_f.test.ts|src/__tests__/auth_5d.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - upb + - identifier: l_configure_project_git_clone_attach_init_c + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/configure-project.test.ts|src/__tests__/git-clone-attach.test.ts|src/__tests__/init_c.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - upb + - identifier: l_layer_4_function_2c_function_3b + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/layer-4.test.ts|src/__tests__/function_2c.test.ts|src/__tests__/function_3b.test.ts + CLI_REGION: eu-west-2 + depend-on: + - upb + - identifier: l_function_4_interactions_schema_model_a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/function_4.test.ts|src/__tests__/interactions.test.ts|src/__tests__/schema-model-a.test.ts + CLI_REGION: us-west-2 + depend-on: + - upb + - identifier: l_tags_auth_1a_auth_trigger + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/tags.test.ts|src/__tests__/auth_1a.test.ts|src/__tests__/auth-trigger.test.ts + CLI_REGION: eu-west-2 + depend-on: + - upb + - identifier: l_custom_policies_function_function_6_storage_2 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/custom_policies_function.test.ts|src/__tests__/function_6.test.ts|src/__tests__/storage-2.test.ts + CLI_REGION: us-west-2 + depend-on: + - upb + - identifier: l_export_iam_permissions_boundary_node_function + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/export.test.ts|src/__tests__/iam-permissions-boundary.test.ts|src/__tests__/migration/node.function.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - upb + - identifier: l_notifications_sms_schema_auth_4b_schema_model_e + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/notifications-sms.test.ts|src/__tests__/schema-auth-4b.test.ts|src/__tests__/schema-model-e.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - upb + - identifier: l_schema_versioned_auth_1c_auth_5e + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/schema-versioned.test.ts|src/__tests__/auth_1c.test.ts|src/__tests__/auth_5e.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_auth_8b_geo_add_b_s3_sse + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/auth_8b.test.ts|src/__tests__/geo-add-b.test.ts|src/__tests__/s3-sse.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_schema_auth_4a_schema_model_b_schema_model_d + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/schema-auth-4a.test.ts|src/__tests__/schema-model-b.test.ts|src/__tests__/schema-model-d.test.ts + CLI_REGION: us-west-2 + depend-on: + - upb + - identifier: l_auth_5f_env_4_frontend_config_drift + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/auth_5f.test.ts|src/__tests__/env-4.test.ts|src/__tests__/frontend_config_drift.test.ts + CLI_REGION: us-west-2 + depend-on: + - upb + - identifier: l_schema_auth_4d_schema_auth_6a_schema_data_access_patterns + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/schema-auth-4d.test.ts|src/__tests__/schema-auth-6a.test.ts|src/__tests__/schema-data-access-patterns.test.ts + CLI_REGION: us-west-2 + depend-on: + - upb + - identifier: l_schema_model_c_schema_predictions_model_migration + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/schema-model-c.test.ts|src/__tests__/schema-predictions.test.ts|src/__tests__/transformer-migrations/model-migration.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_auth_3c_auth_4c_auth_5a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/auth_3c.test.ts|src/__tests__/auth_4c.test.ts|src/__tests__/auth_5a.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_auth_5c_env_1_geo_add_a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/auth_5c.test.ts|src/__tests__/env-1.test.ts|src/__tests__/geo-add-a.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - upb + - identifier: l_init_a_schema_auth_4c_schema_auth_5c + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/init_a.test.ts|src/__tests__/schema-auth-4c.test.ts|src/__tests__/schema-auth-5c.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - upb + - identifier: l_auth_5b_auth_9_custom_resources + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/auth_5b.test.ts|src/__tests__/auth_9.test.ts|src/__tests__/custom_resources.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_env_5_function_10_function_9c + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/env-5.test.ts|src/__tests__/function_10.test.ts|src/__tests__/function_9c.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_function_permissions_geo_import_1a_geo_import_2 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + 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: eu-west-2 + depend-on: + - upb + - identifier: l_global_sandbox_b_schema_auth_5d_schema_auth_6b + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + 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 + depend-on: + - upb + - identifier: l_schema_auth_8c_auth_3a_auth_3b + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + 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 + depend-on: + - upb + - identifier: l_auth_4a_auth_7a_auth_8c + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/auth_4a.test.ts|src/__tests__/auth_7a.test.ts|src/__tests__/auth_8c.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_feature_flags_geo_import_1b_global_sandbox_a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + 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 + depend-on: + - upb + - identifier: l_init_e_notifications_analytics_compatibility_in_app_2_schema_auth_11_c + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + 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: us-east-2 + depend-on: + - upb + - identifier: l_schema_auth_2b_schema_auth_6c_schema_auth_6d + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + 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 + depend-on: + - upb + - identifier: l_schema_auth_7c_schema_auth_8a_function_migration + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + 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: eu-central-1 + depend-on: + - upb + - identifier: l_api_10_api_7_export_pull_a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + 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-1 + depend-on: + - upb + - identifier: l_function_9a_geo_headless_api_key_migration5 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/function_9a.test.ts|src/__tests__/geo-headless.test.ts|src/__tests__/migration/api.key.migration5.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_schema_auth_1a_schema_auth_5b_schema_auth_8b + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + 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 + depend-on: + - upb + - identifier: l_schema_auth_9_a_schema_auth_9_c_storage_3 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + 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: eu-west-2 + depend-on: + - upb + - identifier: l_auth_11_auth_1b_delete + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/auth_11.test.ts|src/__tests__/auth_1b.test.ts|src/__tests__/delete.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - upb + - identifier: l_geo_add_c_geo_add_d_geo_import_3 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/geo-add-c.test.ts|src/__tests__/geo-add-d.test.ts|src/__tests__/geo-import-3.test.ts + CLI_REGION: eu-central-1 + depend-on: + - upb + - identifier: l_hosting_layer_3_api_connection_migration + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/hosting.test.ts|src/__tests__/layer-3.test.ts|src/__tests__/migration/api.connection.migration.test.ts + CLI_REGION: us-west-2 + depend-on: + - upb + - identifier: l_api_key_migration3_predictions_schema_auth_11_b + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + 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-1 + depend-on: + - upb + - identifier: l_schema_auth_1b_schema_auth_2a_schema_auth_7a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/schema-auth-1b.test.ts|src/__tests__/schema-auth-2a.test.ts|src/__tests__/schema-auth-7a.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_schema_auth_7b_schema_auth_9_b_schema_iterative_rollback_1 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/schema-auth-7b.test.ts|src/__tests__/schema-auth-9-b.test.ts|src/__tests__/schema-iterative-rollback-1.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_predictions_migration_api_6a_auth_7b + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/transformer-migrations/predictions-migration.test.ts|src/__tests__/api_6a.test.ts|src/__tests__/auth_7b.test.ts + CLI_REGION: eu-west-2 + depend-on: + - upb + - identifier: l_export_pull_b_function_3a_init_special_case + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/export-pull-b.test.ts|src/__tests__/function_3a.test.ts|src/__tests__/init-special-case.test.ts + CLI_REGION: eu-central-1 + depend-on: + - upb + - identifier: l_http_migration_schema_auth_12_schema_auth_3 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/transformer-migrations/http-migration.test.ts|src/__tests__/schema-auth-12.test.ts|src/__tests__/schema-auth-3.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_schema_function_2_auth_4b_auth_8a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/schema-function-2.test.ts|src/__tests__/auth_4b.test.ts|src/__tests__/auth_8a.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - upb + - identifier: l_export_pull_d_schema_auth_5a_schema_iterative_rollback_2 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/export-pull-d.test.ts|src/__tests__/schema-auth-5a.test.ts|src/__tests__/schema-iterative-rollback-2.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - upb + - identifier: l_schema_iterative_update_3_auth_migration_api_2a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/schema-iterative-update-3.test.ts|src/__tests__/transformer-migrations/auth-migration.test.ts|src/__tests__/api_2a.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - upb + - identifier: l_api_2b_api_6c_api_9a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + 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-east-1 + depend-on: + - upb + - identifier: l_auth_12_auth_2g_auth_2h + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/auth_12.test.ts|src/__tests__/auth_2g.test.ts|src/__tests__/auth_2h.test.ts + CLI_REGION: eu-central-1 + depend-on: + - upb + - identifier: l_auth_5g_hosted_ui_user_groups + 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.test.ts + CLI_REGION: us-west-2 + depend-on: + - upb + - identifier: l_build_function_custom_resource_with_storage_dynamodb_simulator + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + 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_export_pull_c_function_12_function_13 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + 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: us-east-1 + depend-on: + - upb + - identifier: l_function_14_function_15_function_2d + buildspec: codebuild_specs/run_e2e_tests_linux.yml + 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 + depend-on: + - upb + - identifier: l_general_config_headless_init_help_hooks_c + buildspec: codebuild_specs/run_e2e_tests_linux.yml + 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: us-east-1 + depend-on: + - upb + - identifier: l_init_force_push_interactions_1_interactions_2 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + 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_minify_cloudformation_notifications_multi_env_notifications_sms_update + buildspec: codebuild_specs/run_e2e_tests_linux.yml + 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: ap-southeast-1 + depend-on: + - upb + - identifier: l_opensearch_simulator_parameter_store_1_parameter_store_2 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + 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: ap-southeast-2 + depend-on: + - upb + - 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-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: ap-southeast-1 + depend-on: + - upb + - 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/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: us-east-2 + depend-on: + - upb + - 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-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: eu-central-1 + depend-on: + - upb + - identifier: l_pull_2_push_smoketest + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/pull-2.test.ts|src/__tests__/push.test.ts|src/__tests__/smoketest.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - upb + - identifier: l_S3server_api_8_function_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: eu-central-1 + depend-on: + - upb + - identifier: l_schema_iterative_update_locking_api_lambda_auth_2_layer_2 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/schema-iterative-update-locking.test.ts|src/__tests__/graphql-v2/api_lambda_auth_2.test.ts|src/__tests__/layer-2.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_schema_auth_13_function_5_schema_iterative_update_1 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_auth_6_function_2a_schema_connection_2 + 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 + depend-on: + - upb + - identifier: l_schema_function_1_api_9b_custom_policies_container + 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 + depend-on: + - upb + - identifier: l_function_9b_schema_iterative_update_2_storage_1a + 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: us-west-2 + depend-on: + - upb + - identifier: l_storage_1b_function_11_function_2b + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_function_7_api_connection_migration2_api_4 + 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 + depend-on: + - upb + - identifier: l_containers_api_secrets_storage_4_schema_auth_10 + 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 + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_geo_multi_env_searchable_datastore_resolvers + 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-west-2 + depend-on: + - upb + - identifier: l_schema_key_api_5_apigw + 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: ap-southeast-2 + depend-on: + - upb + - identifier: l_api_lambda_auth_1_api_key_migration2_schema_searchable + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/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-2 + depend-on: + - upb + - identifier: l_api_key_migration1_schema_auth_14_api_3 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/migration/api.key.migration1.test.ts|src/__tests__/schema-auth-14.test.ts|src/__tests__/api_3.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - upb + - identifier: l_api_6b_api_1_layer_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-northeast-1 + depend-on: + - upb + - identifier: l_api_key_migration4_schema_iterative_update_4_function_1 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + TEST_SUITE: src/__tests__/migration/api.key.migration4.test.ts|src/__tests__/schema-iterative-update-4.test.ts|src/__tests__/function_1.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - upb + - identifier: l_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: us-east-2 + depend-on: + - upb + - identifier: l_datastore_modelgen + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/datastore-modelgen.test.ts + CLI_REGION: ap-southeast-2 + DISABLE_COVERAGE: 1 + depend-on: + - upb + - identifier: l_amplify_app + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/amplify-app.test.ts + CLI_REGION: us-east-1 + DISABLE_COVERAGE: 1 + depend-on: + - upb + - identifier: l_auth_2c + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/auth_2c.test.ts + CLI_REGION: eu-west-2 + depend-on: + - upb + - identifier: l_auth_2e + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/auth_2e.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - upb + - identifier: l_geo_remove_3 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/geo-remove-3.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_geo_add_f + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/geo-add-f.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_geo_add_e + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/geo-add-e.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_import_dynamodb_2c + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_dynamodb_2c.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - upb + - identifier: l_env_3 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/env-3.test.ts + CLI_REGION: eu-central-1 + depend-on: + - upb + - identifier: l_geo_remove_2 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/geo-remove-2.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_notifications_in_app_messaging + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_import_auth_2a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_auth_2a.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_import_auth_1a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_auth_1a.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_import_auth_2b + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_auth_2b.test.ts + CLI_REGION: eu-west-2 + depend-on: + - upb + - identifier: l_import_s3_2a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_s3_2a.test.ts + CLI_REGION: eu-west-2 + depend-on: + - upb + - identifier: l_import_s3_2c + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_s3_2c.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - upb + - identifier: l_import_auth_1b + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_auth_1b.test.ts + CLI_REGION: us-east-1 + depend-on: + - upb + - identifier: l_schema_auth_11_a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/schema-auth-11-a.test.ts + CLI_REGION: eu-central-1 + depend-on: + - upb + - identifier: l_geo_update_1 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/geo-update-1.test.ts + CLI_REGION: eu-central-1 + depend-on: + - upb + - identifier: l_geo_update_2 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/geo-update-2.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - upb + - identifier: l_import_s3_3 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_s3_3.test.ts + CLI_REGION: eu-central-1 + depend-on: + - upb + - identifier: l_import_dynamodb_2b + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_dynamodb_2b.test.ts + CLI_REGION: us-west-2 + depend-on: + - upb + - identifier: l_hostingPROD + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/hostingPROD.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - upb + - identifier: l_import_s3_2b + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_s3_2b.test.ts + CLI_REGION: eu-west-2 + depend-on: + - upb + - identifier: l_containers_api_1 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/containers-api-1.test.ts + CLI_REGION: eu-west-2 + depend-on: + - upb + - identifier: l_schema_auth_15 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/schema-auth-15.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - upb + - identifier: l_schema_connection_1 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/schema-connection-1.test.ts + CLI_REGION: eu-central-1 + depend-on: + - upb + - identifier: l_import_auth_3 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_auth_3.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - upb + - identifier: l_import_dynamodb_2a + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_dynamodb_2a.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - upb + - identifier: l_containers_api_2 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/containers-api-2.test.ts + CLI_REGION: us-west-2 + depend-on: + - upb + - identifier: l_import_s3_1 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_s3_1.test.ts + CLI_REGION: eu-west-2 + USE_PARENT_ACCOUNT: 1 + depend-on: + - upb + - identifier: l_searchable_migration + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/transformer-migrations/searchable-migration.test.ts + CLI_REGION: us-east-2 + USE_PARENT_ACCOUNT: 1 + depend-on: + - upb + - identifier: l_geo_remove_1 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/geo-remove-1.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_import_dynamodb_1 + buildspec: codebuild_specs/run_e2e_tests_linux.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/import_dynamodb_1.test.ts + CLI_REGION: eu-west-2 + USE_PARENT_ACCOUNT: 1 + depend-on: + - upb + - identifier: w_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/analytics-kinesis.test.ts|src/__tests__/analytics-pinpoint-flutter.test.ts|src/__tests__/analytics-pinpoint-js.test.ts + CLI_REGION: us-east-1 + depend-on: + - build_windows + - upb + - identifier: w_auth_2a_auth_2b_auth_2d + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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 + depend-on: + - build_windows + - upb + - identifier: w_auth_2f_notifications_lifecycle_notifications_analytics_compatibility_in_app_1 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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: eu-west-2 + depend-on: + - build_windows + - upb + - identifier: w_notifications_analytics_compatibility_sms_2_analytics_2_global_sandbox_c + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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-central-1 + depend-on: + - build_windows + - upb + - identifier: w_hooks_b_notifications_analytics_compatibility_sms_1_plugin + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/hooks-b.test.ts|src/__tests__/notifications-analytics-compatibility-sms-1.test.ts|src/__tests__/plugin.test.ts + CLI_REGION: us-west-2 + depend-on: + - build_windows + - upb + - identifier: w_studio_modelgen_custom_transformers_notifications_in_app_messaging_env_1 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/studio-modelgen.test.ts|src/__tests__/graphql-v2/custom-transformers.test.ts|src/__tests__/notifications-in-app-messaging-env-1.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - build_windows + - upb + - identifier: w_notifications_sms_pull_auth_10_container_hosting + 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-pull.test.ts|src/__tests__/auth_10.test.ts|src/__tests__/container-hosting.test.ts + CLI_REGION: us-west-2 + depend-on: + - build_windows + - upb + - identifier: w_init_b_notifications_apns_notifications_fcm + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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 + depend-on: + - build_windows + - upb + - identifier: w_notifications_in_app_messaging_env_2_with_babel_config_amplify_configure + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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-1 + depend-on: + - build_windows + - upb + - identifier: w_init_d_init_f_auth_5d + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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 + depend-on: + - build_windows + - upb + - identifier: w_configure_project_init_c_layer_4 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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 + depend-on: + - build_windows + - upb + - identifier: w_function_2c_interactions_schema_model_a + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/function_2c.test.ts|src/__tests__/interactions.test.ts|src/__tests__/schema-model-a.test.ts + CLI_REGION: us-west-2 + depend-on: + - build_windows + - upb + - identifier: w_tags_auth_1a_auth_trigger + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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: us-east-2 + depend-on: + - build_windows + - upb + - identifier: w_custom_policies_function_storage_2_iam_permissions_boundary + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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 + depend-on: + - build_windows + - upb + - identifier: w_node_function_notifications_sms_schema_auth_4b + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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-1 + depend-on: + - build_windows + - upb + - identifier: w_schema_model_e_schema_versioned_auth_1c + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/schema-model-e.test.ts|src/__tests__/schema-versioned.test.ts|src/__tests__/auth_1c.test.ts + CLI_REGION: eu-central-1 + depend-on: + - build_windows + - upb + - identifier: w_auth_5e_auth_8b_geo_add_b + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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-east-1 + depend-on: + - build_windows + - upb + - identifier: w_s3_sse_schema_auth_4a_schema_model_b + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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-2 + depend-on: + - build_windows + - upb + - identifier: w_schema_model_d_auth_5f_env_4 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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-east-1 + depend-on: + - build_windows + - upb + - identifier: w_frontend_config_drift_schema_auth_4d_schema_auth_6a + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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 + depend-on: + - build_windows + - upb + - identifier: w_schema_data_access_patterns_schema_model_c_schema_predictions + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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: ap-northeast-1 + depend-on: + - build_windows + - upb + - identifier: w_model_migration_auth_3c_auth_4c + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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: us-west-2 + depend-on: + - build_windows + - upb + - identifier: w_auth_5a_auth_5c_env_1 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + 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: ap-southeast-2 + depend-on: + - build_windows + - upb + - identifier: w_geo_add_a_init_a_schema_auth_4c + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/geo-add-a.test.ts|src/__tests__/init_a.test.ts|src/__tests__/schema-auth-4c.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - build_windows + - upb + - identifier: w_schema_auth_5c_auth_5b_auth_9 + 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-5c.test.ts|src/__tests__/auth_5b.test.ts|src/__tests__/auth_9.test.ts + CLI_REGION: us-east-1 + depend-on: + - build_windows + - upb + - identifier: w_custom_resources_env_5_function_10 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/custom_resources.test.ts|src/__tests__/env-5.test.ts|src/__tests__/function_10.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - build_windows + - upb + - identifier: w_function_9c_function_permissions_geo_import_1a + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/function_9c.test.ts|src/__tests__/function-permissions.test.ts|src/__tests__/geo-import-1a.test.ts + CLI_REGION: us-east-2 + depend-on: + - build_windows + - upb + - identifier: w_geo_import_2_global_sandbox_b_schema_auth_5d + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/geo-import-2.test.ts|src/__tests__/global_sandbox-b.test.ts|src/__tests__/schema-auth-5d.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - build_windows + - upb + - identifier: w_schema_auth_6b_schema_auth_8c_auth_3a + 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-6b.test.ts|src/__tests__/schema-auth-8c.test.ts|src/__tests__/auth_3a.test.ts + CLI_REGION: us-west-2 + depend-on: + - build_windows + - upb + - identifier: w_auth_3b_auth_4a_auth_7a + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/auth_3b.test.ts|src/__tests__/auth_4a.test.ts|src/__tests__/auth_7a.test.ts + CLI_REGION: us-west-2 + depend-on: + - build_windows + - upb + - identifier: w_auth_8c_feature_flags_geo_import_1b + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/auth_8c.test.ts|src/__tests__/feature-flags.test.ts|src/__tests__/geo-import-1b.test.ts + CLI_REGION: us-east-2 + depend-on: + - build_windows + - upb + - identifier: w_global_sandbox_a_init_e_notifications_analytics_compatibility_in_app_2 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/global_sandbox-a.test.ts|src/__tests__/init_e.test.ts|src/__tests__/notifications-analytics-compatibility-in-app-2.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - build_windows + - upb + - identifier: w_schema_auth_11_c_schema_auth_2b_schema_auth_6c + 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-11-c.test.ts|src/__tests__/schema-auth-2b.test.ts|src/__tests__/schema-auth-6c.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - build_windows + - upb + - identifier: w_schema_auth_6d_schema_auth_7c_schema_auth_8a + 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-6d.test.ts|src/__tests__/schema-auth-7c.test.ts|src/__tests__/schema-auth-8a.test.ts + CLI_REGION: us-east-1 + depend-on: + - build_windows + - upb + - identifier: w_function_migration_api_10_api_7 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/transformer-migrations/function-migration.test.ts|src/__tests__/api_10.test.ts|src/__tests__/api_7.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - build_windows + - upb + - identifier: w_export_pull_a_function_9a_geo_headless + 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-a.test.ts|src/__tests__/function_9a.test.ts|src/__tests__/geo-headless.test.ts + CLI_REGION: us-east-2 + depend-on: + - build_windows + - upb + - identifier: w_api_key_migration5_schema_auth_1a_schema_auth_5b + 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.migration5.test.ts|src/__tests__/schema-auth-1a.test.ts|src/__tests__/schema-auth-5b.test.ts + CLI_REGION: eu-central-1 + depend-on: + - build_windows + - upb + - identifier: w_schema_auth_8b_schema_auth_9_a_schema_auth_9_c + 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-8b.test.ts|src/__tests__/schema-auth-9-a.test.ts|src/__tests__/schema-auth-9-c.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - build_windows + - upb + - identifier: w_storage_3_auth_11_auth_1b + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/storage-3.test.ts|src/__tests__/auth_11.test.ts|src/__tests__/auth_1b.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - build_windows + - upb + - identifier: w_delete_geo_add_c_geo_add_d + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/delete.test.ts|src/__tests__/geo-add-c.test.ts|src/__tests__/geo-add-d.test.ts + CLI_REGION: us-east-1 + depend-on: + - build_windows + - upb + - identifier: w_geo_import_3_hosting_layer_3 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/geo-import-3.test.ts|src/__tests__/hosting.test.ts|src/__tests__/layer-3.test.ts + CLI_REGION: us-east-2 + depend-on: + - build_windows + - upb + - identifier: w_api_connection_migration_api_key_migration3_predictions + 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.migration.test.ts|src/__tests__/migration/api.key.migration3.test.ts|src/__tests__/predictions.test.ts + CLI_REGION: us-east-2 + depend-on: + - build_windows + - upb + - identifier: w_schema_auth_11_b_schema_auth_1b_schema_auth_2a + 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-11-b.test.ts|src/__tests__/schema-auth-1b.test.ts|src/__tests__/schema-auth-2a.test.ts + CLI_REGION: us-east-1 + depend-on: + - build_windows + - upb + - identifier: w_schema_auth_7a_schema_auth_7b_schema_auth_9_b + 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-7a.test.ts|src/__tests__/schema-auth-7b.test.ts|src/__tests__/schema-auth-9-b.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - build_windows + - upb + - identifier: w_predictions_migration_api_6a_auth_7b + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/transformer-migrations/predictions-migration.test.ts|src/__tests__/api_6a.test.ts|src/__tests__/auth_7b.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - build_windows + - upb + - identifier: w_export_pull_b_init_special_case_http_migration + 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-b.test.ts|src/__tests__/init-special-case.test.ts|src/__tests__/transformer-migrations/http-migration.test.ts + CLI_REGION: eu-west-2 + depend-on: + - build_windows + - upb + - identifier: w_schema_auth_12_schema_auth_3_schema_function_2 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/schema-auth-12.test.ts|src/__tests__/schema-auth-3.test.ts|src/__tests__/schema-function-2.test.ts + CLI_REGION: eu-west-2 + depend-on: + - build_windows + - upb + - identifier: w_auth_4b_auth_8a_export_pull_d + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/auth_4b.test.ts|src/__tests__/auth_8a.test.ts|src/__tests__/export-pull-d.test.ts + CLI_REGION: us-east-1 + depend-on: + - build_windows + - upb + - identifier: w_schema_auth_5a_schema_iterative_update_3_auth_migration + 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-5a.test.ts|src/__tests__/schema-iterative-update-3.test.ts|src/__tests__/transformer-migrations/auth-migration.test.ts + CLI_REGION: eu-central-1 + depend-on: + - build_windows + - upb + - identifier: w_api_2a_api_2b_api_6c + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/api_2a.test.ts|src/__tests__/api_2b.test.ts|src/__tests__/api_6c.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - build_windows + - upb + - identifier: w_api_9a_auth_2h_auth_5g + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/api_9a.test.ts|src/__tests__/auth_2h.test.ts|src/__tests__/auth_5g.test.ts + CLI_REGION: eu-central-1 + depend-on: + - build_windows + - upb + - identifier: w_hosted_ui_user_groups_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__/auth/hosted-ui.test.ts|src/__tests__/auth/user-groups.test.ts|src/__tests__/build-function.test.ts + CLI_REGION: eu-west-2 + depend-on: + - build_windows + - upb + - identifier: w_custom_resource_with_storage_dynamodb_simulator_export_pull_c + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + 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 + CLI_REGION: us-west-2 + depend-on: + - build_windows + - upb + - identifier: w_function_12_function_13_function_14 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/function_12.test.ts|src/__tests__/function_13.test.ts|src/__tests__/function_14.test.ts + CLI_REGION: eu-west-2 + depend-on: + - build_windows + - upb + - identifier: w_function_2d_general_config_headless_init_help + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/function_2d.test.ts|src/__tests__/general-config/general-config-headless-init.test.ts|src/__tests__/help.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - build_windows + - upb + - identifier: w_init_force_push_interactions_1_interactions_2 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/init-force-push.test.ts|src/__tests__/interactions-1.test.ts|src/__tests__/interactions-2.test.ts + CLI_REGION: us-west-2 + depend-on: + - build_windows + - upb + - identifier: w_minify_cloudformation_notifications_multi_env_notifications_sms_update + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/minify-cloudformation.test.ts|src/__tests__/notifications-multi-env.test.ts|src/__tests__/notifications-sms-update.test.ts + CLI_REGION: us-east-1 + depend-on: + - build_windows + - upb + - identifier: w_parameter_store_1_parameter_store_2_push + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/parameter-store-1.test.ts|src/__tests__/parameter-store-2.test.ts|src/__tests__/push.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - build_windows + - upb + - identifier: w_api_8_schema_iterative_update_locking_api_lambda_auth_2 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/api_8.test.ts|src/__tests__/schema-iterative-update-locking.test.ts|src/__tests__/graphql-v2/api_lambda_auth_2.test.ts + CLI_REGION: us-east-2 + depend-on: + - build_windows + - upb + - identifier: w_schema_auth_13_function_5_schema_iterative_update_1 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - build_windows + - upb + - identifier: w_auth_6_function_2a_schema_connection_2 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/auth_6.test.ts|src/__tests__/function_2a.test.ts|src/__tests__/schema-connection-2.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - build_windows + - upb + - identifier: w_schema_function_1_api_9b_custom_policies_container + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/schema-function-1.test.ts|src/__tests__/api_9b.test.ts|src/__tests__/custom_policies_container.test.ts + CLI_REGION: us-west-2 + depend-on: + - build_windows + - upb + - identifier: w_function_9b_schema_iterative_update_2_storage_1a + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/function_9b.test.ts|src/__tests__/schema-iterative-update-2.test.ts|src/__tests__/storage-1a.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - build_windows + - upb + - identifier: w_storage_1b_function_11_function_2b + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - build_windows + - upb + - identifier: w_api_connection_migration2_api_4_containers_api_secrets + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/migration/api.connection.migration2.test.ts|src/__tests__/api_4.test.ts|src/__tests__/containers-api-secrets.test.ts + CLI_REGION: us-west-2 + depend-on: + - build_windows + - upb + - identifier: w_storage_4_schema_auth_10_geo_multi_env + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/storage-4.test.ts|src/__tests__/schema-auth-10.test.ts|src/__tests__/geo-multi-env.test.ts + CLI_REGION: eu-west-2 + depend-on: + - build_windows + - upb + - identifier: w_searchable_datastore_resolvers_schema_key + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/graphql-v2/searchable-datastore.test.ts|src/__tests__/resolvers.test.ts|src/__tests__/schema-key.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - build_windows + - upb + - identifier: w_api_5_apigw_api_lambda_auth_1 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/api_5.test.ts|src/__tests__/apigw.test.ts|src/__tests__/graphql-v2/api_lambda_auth_1.test.ts + CLI_REGION: us-east-2 + depend-on: + - build_windows + - upb + - identifier: w_api_key_migration2_schema_searchable_api_key_migration1 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/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 + depend-on: + - build_windows + - upb + - identifier: w_schema_auth_14_api_3_api_6b + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/schema-auth-14.test.ts|src/__tests__/api_3.test.ts|src/__tests__/api_6b.test.ts + CLI_REGION: eu-central-1 + depend-on: + - build_windows + - upb + - identifier: w_api_1_layer_1_api_key_migration4 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/api_1.test.ts|src/__tests__/layer-1.test.ts|src/__tests__/migration/api.key.migration4.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - build_windows + - upb + - identifier: w_schema_iterative_update_4_function_1 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/schema-iterative-update-4.test.ts|src/__tests__/function_1.test.ts + CLI_REGION: us-east-2 + depend-on: + - build_windows + - upb + - identifier: w_auth_2c + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/auth_2c.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - build_windows + - upb + - identifier: w_auth_2e + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/auth_2e.test.ts + CLI_REGION: us-west-2 + depend-on: + - build_windows + - upb + - identifier: w_env_3 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/env-3.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - build_windows + - upb + - identifier: w_notifications_in_app_messaging + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - build_windows + - upb + - identifier: w_schema_auth_11_a + 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-11-a.test.ts + CLI_REGION: eu-central-1 + depend-on: + - build_windows + - upb + - identifier: w_import_s3_3 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/import_s3_3.test.ts + CLI_REGION: eu-central-1 + depend-on: + - build_windows + - upb + - identifier: w_hostingPROD + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/hostingPROD.test.ts + CLI_REGION: us-east-2 + depend-on: + - build_windows + - upb + - identifier: w_containers_api_1 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/containers-api-1.test.ts + CLI_REGION: us-east-1 + depend-on: + - build_windows + - upb + - identifier: w_schema_auth_15 + 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-15.test.ts + CLI_REGION: eu-west-2 + depend-on: + - build_windows + - upb + - identifier: w_schema_connection_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-connection-1.test.ts + CLI_REGION: eu-central-1 + depend-on: + - build_windows + - upb + - identifier: w_containers_api_2 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/containers-api-2.test.ts + CLI_REGION: us-east-1 + depend-on: + - build_windows + - upb + - identifier: w_import_s3_1 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/import_s3_1.test.ts + CLI_REGION: ap-southeast-1 + USE_PARENT_ACCOUNT: 1 + depend-on: + - build_windows + - upb + - identifier: w_searchable_migration + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/transformer-migrations/searchable-migration.test.ts + CLI_REGION: us-west-2 + USE_PARENT_ACCOUNT: 1 + depend-on: + - build_windows + - upb + - identifier: w_geo_remove_1 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/geo-remove-1.test.ts + CLI_REGION: us-east-2 + depend-on: + - build_windows + - upb + - identifier: w_import_dynamodb_1 + buildspec: codebuild_specs/run_e2e_tests_windows.yml + env: + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 + variables: + TEST_SUITE: src/__tests__/import_dynamodb_1.test.ts + CLI_REGION: eu-west-2 + USE_PARENT_ACCOUNT: 1 + depend-on: + - build_windows + - upb + - identifier: l_notifications_migration_4_v8 + buildspec: codebuild_specs/migration_tests_v8.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-4.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - upb + - identifier: l_api_key_migration_v8 + buildspec: codebuild_specs/migration_tests_v8.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests/transformer_migration/api.key.migration.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - upb + - identifier: l_notifications_migration_v8 + buildspec: codebuild_specs/migration_tests_v8.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - upb + - identifier: l_api_key_migration_2_v8 + buildspec: codebuild_specs/migration_tests_v8.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests/transformer_migration/api.key.migration-2.test.ts + CLI_REGION: us-west-2 + depend-on: + - upb + - identifier: l_notifications_migration_2_v8 + buildspec: codebuild_specs/migration_tests_v8.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-2.test.ts + CLI_REGION: us-west-2 + depend-on: + - upb + - identifier: l_function_migration_update_v8 + buildspec: codebuild_specs/migration_tests_v8.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/update_tests/function_migration_update.test.ts + CLI_REGION: eu-west-2 + depend-on: + - upb + - identifier: l_notifications_migration_3_v8 + buildspec: codebuild_specs/migration_tests_v8.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-3.test.ts + CLI_REGION: eu-central-1 + depend-on: + - upb + - identifier: l_scaffold_v10 + buildspec: codebuild_specs/migration_tests_v10.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v10/scaffold.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - upb + - identifier: l_api_graphql_v2_migration_v10 + buildspec: codebuild_specs/migration_tests_v10.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v10/api-graphql-v2.migration.test.ts + CLI_REGION: eu-central-1 + depend-on: + - upb + - identifier: l_api_rest_basic_migration_v10 + buildspec: codebuild_specs/migration_tests_v10.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-basic.migration.test.ts + CLI_REGION: eu-central-1 + depend-on: + - upb + - identifier: l_api_rest_lambda_migration_v10 + buildspec: codebuild_specs/migration_tests_v10.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-lambda.migration.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - upb + - identifier: l_api_rest_serverless_migration_v10 + buildspec: codebuild_specs/migration_tests_v10.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-serverless.migration.test.ts + CLI_REGION: eu-central-1 + depend-on: + - upb + - identifier: l_auth_add_all_migration_v10 + buildspec: codebuild_specs/migration_tests_v10.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v10/auth-add-all.migration.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - upb + - identifier: l_auth_override_migration_v10 + buildspec: codebuild_specs/migration_tests_v10.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v10/auth-override.migration.test.ts + CLI_REGION: eu-west-2 + depend-on: + - upb + - identifier: l_custom_stack_migration_v10 + buildspec: codebuild_specs/migration_tests_v10.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v10/custom-stack.migration.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - upb + - identifier: l_geo_migration_v10 + buildspec: codebuild_specs/migration_tests_v10.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v10/geo.migration.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_git_clone_migration_tests_v10 + buildspec: codebuild_specs/migration_tests_v10.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v10/git-clone-migration-tests.test.ts + CLI_REGION: us-west-2 + depend-on: + - upb + - identifier: l_pinpoint_region_migration_v10 + buildspec: codebuild_specs/migration_tests_v10.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v10/pinpoint-region.migration.test.ts + CLI_REGION: us-east-2 + depend-on: + - upb + - identifier: l_storage_migration_v10 + buildspec: codebuild_specs/migration_tests_v10.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v10/storage.migration.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - upb + - identifier: l_auth_app_client_secret_migration_v12 + buildspec: codebuild_specs/migration_tests_v12.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v12/auth-app-client-secret-migration.test.ts + CLI_REGION: eu-west-2 + depend-on: + - upb + - identifier: l_auth_hosted_ui_lambda_migration_v12 + buildspec: codebuild_specs/migration_tests_v12.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v12/auth-hosted-ui-lambda-migration.test.ts + CLI_REGION: eu-west-2 + depend-on: + - upb + - identifier: l_auth_lambda_callout_migration_rollback_v12 + buildspec: codebuild_specs/migration_tests_v12.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v12/auth-lambda-callout-migration-rollback.test.ts + CLI_REGION: ap-northeast-1 + depend-on: + - upb + - identifier: l_auth_lambda_callout_migration_v12 + buildspec: codebuild_specs/migration_tests_v12.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v12/auth-lambda-callout-migration.test.ts + CLI_REGION: us-west-2 + depend-on: + - upb + - identifier: l_auth_oauth_lambda_migration_v12 + buildspec: codebuild_specs/migration_tests_v12.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v12/auth-oauth-lambda-migration.test.ts + CLI_REGION: ap-southeast-1 + depend-on: + - upb + - identifier: l_auth_migration_v12 + buildspec: codebuild_specs/migration_tests_v12.yml + env: + variables: + compute-type: BUILD_GENERAL1_SMALL + TEST_SUITE: src/__tests__/migration_tests_v12/auth.migration.test.ts + CLI_REGION: ap-southeast-2 + depend-on: + - upb - identifier: aggregate_e2e_reports env: compute-type: BUILD_GENERAL1_MEDIUM variables: WAIT_FOR_IDS_FILE_PATH: ./codebuild_specs/wait_for_ids.json buildspec: codebuild_specs/aggregate_e2e_reports.yml + depend-on: + - upb