Skip to content

Commit f70c9ad

Browse files
authored
chore: update valid appsync function runtime in tests (#3670)
1 parent c029c63 commit f70c9ad

12 files changed

+24
-24
lines changed

tests/translator/input/graphqlapi_function_by_id.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ Resources:
2222
DataSourceName: some-cool-datasource
2323
Name: MyFunction
2424
Runtime:
25-
Name: some-runtime
25+
Name: APPSYNC_JS
2626
RuntimeVersion: 1.2.3

tests/translator/input/graphqlapi_multiple_none_datasource_functions.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ Resources:
1515
CodeUri: my-code-uri
1616
DataSource: NONE
1717
Runtime:
18-
Name: some-runtime
18+
Name: APPSYNC_JS
1919
Version: 1.2.3
2020
AnotherFunction:
2121
CodeUri: my-code-uri
2222
DataSource: None
2323
Runtime:
24-
Name: some-runtime
24+
Name: APPSYNC_JS
2525
Version: 1.2.3
2626
SimilarFunction:
2727
CodeUri: my-code-uri
2828
DataSource: none
2929
Runtime:
30-
Name: some-runtime
30+
Name: APPSYNC_JS
3131
Version: 1.2.3
3232
GoodFunction:
3333
CodeUri: my-code-uri
3434
DataSource: nOnE
3535
Runtime:
36-
Name: some-runtime
36+
Name: APPSYNC_JS
3737
Version: 1.2.3

tests/translator/input/graphqlapi_resolver_function_with_lambda_datasource.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Resources:
5050
Functions:
5151
MyFunction:
5252
Runtime:
53-
Name: some-runtime
53+
Name: APPSYNC_JS
5454
Version: 1.2.3
5555
InlineCode: this is my epic code
5656
DataSource: MyDataSource

tests/translator/output/aws-cn/graphqlapi_function_by_id.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"DataSourceName": "some-cool-datasource",
1313
"Name": "MyFunction",
1414
"Runtime": {
15-
"Name": "some-runtime",
15+
"Name": "APPSYNC_JS",
1616
"RuntimeVersion": "1.2.3"
1717
}
1818
},

tests/translator/output/aws-cn/graphqlapi_multiple_none_datasource_functions.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"Name": "AnotherFunction",
4141
"Runtime": {
42-
"Name": "some-runtime",
42+
"Name": "APPSYNC_JS",
4343
"RuntimeVersion": "1.2.3"
4444
}
4545
},
@@ -88,7 +88,7 @@
8888
},
8989
"Name": "GoodFunction",
9090
"Runtime": {
91-
"Name": "some-runtime",
91+
"Name": "APPSYNC_JS",
9292
"RuntimeVersion": "1.2.3"
9393
}
9494
},
@@ -111,7 +111,7 @@
111111
},
112112
"Name": "MyFunction",
113113
"Runtime": {
114-
"Name": "some-runtime",
114+
"Name": "APPSYNC_JS",
115115
"RuntimeVersion": "1.2.3"
116116
}
117117
},
@@ -159,7 +159,7 @@
159159
},
160160
"Name": "SimilarFunction",
161161
"Runtime": {
162-
"Name": "some-runtime",
162+
"Name": "APPSYNC_JS",
163163
"RuntimeVersion": "1.2.3"
164164
}
165165
},

tests/translator/output/aws-cn/graphqlapi_resolver_function_with_lambda_datasource.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
"MaxBatchSize": 10,
174174
"Name": "MyFunction",
175175
"Runtime": {
176-
"Name": "some-runtime",
176+
"Name": "APPSYNC_JS",
177177
"RuntimeVersion": "1.2.3"
178178
}
179179
},

tests/translator/output/aws-us-gov/graphqlapi_function_by_id.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"DataSourceName": "some-cool-datasource",
1313
"Name": "MyFunction",
1414
"Runtime": {
15-
"Name": "some-runtime",
15+
"Name": "APPSYNC_JS",
1616
"RuntimeVersion": "1.2.3"
1717
}
1818
},

tests/translator/output/aws-us-gov/graphqlapi_multiple_none_datasource_functions.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"Name": "AnotherFunction",
4141
"Runtime": {
42-
"Name": "some-runtime",
42+
"Name": "APPSYNC_JS",
4343
"RuntimeVersion": "1.2.3"
4444
}
4545
},
@@ -88,7 +88,7 @@
8888
},
8989
"Name": "GoodFunction",
9090
"Runtime": {
91-
"Name": "some-runtime",
91+
"Name": "APPSYNC_JS",
9292
"RuntimeVersion": "1.2.3"
9393
}
9494
},
@@ -111,7 +111,7 @@
111111
},
112112
"Name": "MyFunction",
113113
"Runtime": {
114-
"Name": "some-runtime",
114+
"Name": "APPSYNC_JS",
115115
"RuntimeVersion": "1.2.3"
116116
}
117117
},
@@ -159,7 +159,7 @@
159159
},
160160
"Name": "SimilarFunction",
161161
"Runtime": {
162-
"Name": "some-runtime",
162+
"Name": "APPSYNC_JS",
163163
"RuntimeVersion": "1.2.3"
164164
}
165165
},

tests/translator/output/aws-us-gov/graphqlapi_resolver_function_with_lambda_datasource.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
"MaxBatchSize": 10,
174174
"Name": "MyFunction",
175175
"Runtime": {
176-
"Name": "some-runtime",
176+
"Name": "APPSYNC_JS",
177177
"RuntimeVersion": "1.2.3"
178178
}
179179
},

tests/translator/output/graphqlapi_function_by_id.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"DataSourceName": "some-cool-datasource",
1313
"Name": "MyFunction",
1414
"Runtime": {
15-
"Name": "some-runtime",
15+
"Name": "APPSYNC_JS",
1616
"RuntimeVersion": "1.2.3"
1717
}
1818
},

tests/translator/output/graphqlapi_multiple_none_datasource_functions.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"Name": "AnotherFunction",
4141
"Runtime": {
42-
"Name": "some-runtime",
42+
"Name": "APPSYNC_JS",
4343
"RuntimeVersion": "1.2.3"
4444
}
4545
},
@@ -88,7 +88,7 @@
8888
},
8989
"Name": "GoodFunction",
9090
"Runtime": {
91-
"Name": "some-runtime",
91+
"Name": "APPSYNC_JS",
9292
"RuntimeVersion": "1.2.3"
9393
}
9494
},
@@ -111,7 +111,7 @@
111111
},
112112
"Name": "MyFunction",
113113
"Runtime": {
114-
"Name": "some-runtime",
114+
"Name": "APPSYNC_JS",
115115
"RuntimeVersion": "1.2.3"
116116
}
117117
},
@@ -159,7 +159,7 @@
159159
},
160160
"Name": "SimilarFunction",
161161
"Runtime": {
162-
"Name": "some-runtime",
162+
"Name": "APPSYNC_JS",
163163
"RuntimeVersion": "1.2.3"
164164
}
165165
},

tests/translator/output/graphqlapi_resolver_function_with_lambda_datasource.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
"MaxBatchSize": 10,
174174
"Name": "MyFunction",
175175
"Runtime": {
176-
"Name": "some-runtime",
176+
"Name": "APPSYNC_JS",
177177
"RuntimeVersion": "1.2.3"
178178
}
179179
},

0 commit comments

Comments
 (0)