You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/general-config.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,8 @@ appSync:
44
44
- `dataSources`: See [DataSources](dataSources.md)
45
45
- `resolvers`: See [Resolvers](resolvers.md)
46
46
- `pipelineFunctions`: See [Pipeline functions](pipeline-functions.md)
47
-
- `substitutions`: See [Substitutions](substitutions.md)
47
+
- `substitutions`: See [Substitutions](substitutions.md). Deprecated: Use environment variables.
48
+
- `environment`: A list of environment variables for the API. See [Official Documentation](https://docs.aws.amazon.com/appsync/latest/devguide/environmental-variables.html)
Copy file name to clipboardExpand all lines: doc/resolvers.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ appSync:
29
29
- `code`: The path of the JavaScript resolver handler file, relative to `serverless.yml`. If not specified, a [minimalistic default](#javascript-vs-vtl) is used.
30
30
- `request`: The path to the VTL request mapping template file, relative to `serverless.yml`.
31
31
- `response`: The path to the VTL response mapping template file, relative to `serverless.yml`.
32
-
- `substitutions`: See [Variable Substitutions](substitutions.md)
32
+
- `substitutions`: See [Variable Substitutions](substitutions.md). Deprecated: Use [environment variables](./general-config.md) instead.
0 commit comments