diff --git a/tests/translator/input/graphqlapi_function_by_id.yaml b/tests/translator/input/graphqlapi_function_by_id.yaml index 6c45cc637..d089338e6 100644 --- a/tests/translator/input/graphqlapi_function_by_id.yaml +++ b/tests/translator/input/graphqlapi_function_by_id.yaml @@ -22,5 +22,5 @@ Resources: DataSourceName: some-cool-datasource Name: MyFunction Runtime: - Name: some-runtime + Name: APPSYNC_JS RuntimeVersion: 1.2.3 diff --git a/tests/translator/input/graphqlapi_multiple_none_datasource_functions.yaml b/tests/translator/input/graphqlapi_multiple_none_datasource_functions.yaml index f71751ecc..a711ffd00 100644 --- a/tests/translator/input/graphqlapi_multiple_none_datasource_functions.yaml +++ b/tests/translator/input/graphqlapi_multiple_none_datasource_functions.yaml @@ -15,23 +15,23 @@ Resources: CodeUri: my-code-uri DataSource: NONE Runtime: - Name: some-runtime + Name: APPSYNC_JS Version: 1.2.3 AnotherFunction: CodeUri: my-code-uri DataSource: None Runtime: - Name: some-runtime + Name: APPSYNC_JS Version: 1.2.3 SimilarFunction: CodeUri: my-code-uri DataSource: none Runtime: - Name: some-runtime + Name: APPSYNC_JS Version: 1.2.3 GoodFunction: CodeUri: my-code-uri DataSource: nOnE Runtime: - Name: some-runtime + Name: APPSYNC_JS Version: 1.2.3 diff --git a/tests/translator/input/graphqlapi_resolver_function_with_lambda_datasource.yaml b/tests/translator/input/graphqlapi_resolver_function_with_lambda_datasource.yaml index eff5425cc..98a77993e 100644 --- a/tests/translator/input/graphqlapi_resolver_function_with_lambda_datasource.yaml +++ b/tests/translator/input/graphqlapi_resolver_function_with_lambda_datasource.yaml @@ -50,7 +50,7 @@ Resources: Functions: MyFunction: Runtime: - Name: some-runtime + Name: APPSYNC_JS Version: 1.2.3 InlineCode: this is my epic code DataSource: MyDataSource diff --git a/tests/translator/output/aws-cn/graphqlapi_function_by_id.json b/tests/translator/output/aws-cn/graphqlapi_function_by_id.json index ea9a7fc1c..678cbf2bf 100644 --- a/tests/translator/output/aws-cn/graphqlapi_function_by_id.json +++ b/tests/translator/output/aws-cn/graphqlapi_function_by_id.json @@ -12,7 +12,7 @@ "DataSourceName": "some-cool-datasource", "Name": "MyFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, diff --git a/tests/translator/output/aws-cn/graphqlapi_multiple_none_datasource_functions.json b/tests/translator/output/aws-cn/graphqlapi_multiple_none_datasource_functions.json index 43fb34207..a245392a3 100644 --- a/tests/translator/output/aws-cn/graphqlapi_multiple_none_datasource_functions.json +++ b/tests/translator/output/aws-cn/graphqlapi_multiple_none_datasource_functions.json @@ -39,7 +39,7 @@ }, "Name": "AnotherFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, @@ -88,7 +88,7 @@ }, "Name": "GoodFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, @@ -111,7 +111,7 @@ }, "Name": "MyFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, @@ -159,7 +159,7 @@ }, "Name": "SimilarFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, diff --git a/tests/translator/output/aws-cn/graphqlapi_resolver_function_with_lambda_datasource.json b/tests/translator/output/aws-cn/graphqlapi_resolver_function_with_lambda_datasource.json index dfce18342..c6021bf37 100644 --- a/tests/translator/output/aws-cn/graphqlapi_resolver_function_with_lambda_datasource.json +++ b/tests/translator/output/aws-cn/graphqlapi_resolver_function_with_lambda_datasource.json @@ -173,7 +173,7 @@ "MaxBatchSize": 10, "Name": "MyFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, diff --git a/tests/translator/output/aws-us-gov/graphqlapi_function_by_id.json b/tests/translator/output/aws-us-gov/graphqlapi_function_by_id.json index ea9a7fc1c..678cbf2bf 100644 --- a/tests/translator/output/aws-us-gov/graphqlapi_function_by_id.json +++ b/tests/translator/output/aws-us-gov/graphqlapi_function_by_id.json @@ -12,7 +12,7 @@ "DataSourceName": "some-cool-datasource", "Name": "MyFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, diff --git a/tests/translator/output/aws-us-gov/graphqlapi_multiple_none_datasource_functions.json b/tests/translator/output/aws-us-gov/graphqlapi_multiple_none_datasource_functions.json index 43fb34207..a245392a3 100644 --- a/tests/translator/output/aws-us-gov/graphqlapi_multiple_none_datasource_functions.json +++ b/tests/translator/output/aws-us-gov/graphqlapi_multiple_none_datasource_functions.json @@ -39,7 +39,7 @@ }, "Name": "AnotherFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, @@ -88,7 +88,7 @@ }, "Name": "GoodFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, @@ -111,7 +111,7 @@ }, "Name": "MyFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, @@ -159,7 +159,7 @@ }, "Name": "SimilarFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, diff --git a/tests/translator/output/aws-us-gov/graphqlapi_resolver_function_with_lambda_datasource.json b/tests/translator/output/aws-us-gov/graphqlapi_resolver_function_with_lambda_datasource.json index dfce18342..c6021bf37 100644 --- a/tests/translator/output/aws-us-gov/graphqlapi_resolver_function_with_lambda_datasource.json +++ b/tests/translator/output/aws-us-gov/graphqlapi_resolver_function_with_lambda_datasource.json @@ -173,7 +173,7 @@ "MaxBatchSize": 10, "Name": "MyFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, diff --git a/tests/translator/output/graphqlapi_function_by_id.json b/tests/translator/output/graphqlapi_function_by_id.json index ea9a7fc1c..678cbf2bf 100644 --- a/tests/translator/output/graphqlapi_function_by_id.json +++ b/tests/translator/output/graphqlapi_function_by_id.json @@ -12,7 +12,7 @@ "DataSourceName": "some-cool-datasource", "Name": "MyFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, diff --git a/tests/translator/output/graphqlapi_multiple_none_datasource_functions.json b/tests/translator/output/graphqlapi_multiple_none_datasource_functions.json index 43fb34207..a245392a3 100644 --- a/tests/translator/output/graphqlapi_multiple_none_datasource_functions.json +++ b/tests/translator/output/graphqlapi_multiple_none_datasource_functions.json @@ -39,7 +39,7 @@ }, "Name": "AnotherFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, @@ -88,7 +88,7 @@ }, "Name": "GoodFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, @@ -111,7 +111,7 @@ }, "Name": "MyFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, @@ -159,7 +159,7 @@ }, "Name": "SimilarFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } }, diff --git a/tests/translator/output/graphqlapi_resolver_function_with_lambda_datasource.json b/tests/translator/output/graphqlapi_resolver_function_with_lambda_datasource.json index dfce18342..c6021bf37 100644 --- a/tests/translator/output/graphqlapi_resolver_function_with_lambda_datasource.json +++ b/tests/translator/output/graphqlapi_resolver_function_with_lambda_datasource.json @@ -173,7 +173,7 @@ "MaxBatchSize": 10, "Name": "MyFunction", "Runtime": { - "Name": "some-runtime", + "Name": "APPSYNC_JS", "RuntimeVersion": "1.2.3" } },