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
| apiKey |`0123456789`| When using `API_KEY` as authentication type, the key to authenticate to the endpoint. |
52
-
| port | 20002 | AppSync operations port |
53
-
| wsPort | 20003 | AppSync subscriptions port |
54
-
| location | . (base directory) | Location of the lambda functions handlers. |
55
-
| refMap | {} | A mapping of [resource resolutions](#resource-cloudformation-functions-resolution) for the `Ref` function |
56
-
| getAttMap | {} | A mapping of [resource resolutions](#resource-cloudformation-functions-resolution) for the `GetAtt` function |
57
-
| dynamoDb.endpoint |http://localhost:8000| Dynamodb endpoint. Specify it if you're not using serverless-dynamodb-local. Otherwise, port is taken from dynamodb-local conf |
58
-
| dynamoDb.region | localhost | Dynamodb region. Specify it if you're connecting to a remote Dynamodb intance. |
59
-
| dynamoDb.accessKeyId | DEFAULT_ACCESS_KEY | AWS Access Key ID to access DynamoDB |
| apiKey |`0123456789`| When using `API_KEY` as authentication type, the key to authenticate to the endpoint. |
52
+
| port | 20002 | AppSync operations port |
53
+
| wsPort | 20003 | AppSync subscriptions port |
54
+
| location | . (base directory) | Location of the lambda functions handlers. |
55
+
| lambda.loadLocalEnv | false | If `true`, all environment variables (`$ env`) will be accessible from the resolver function. Read more in section [Environment variables](#environment-variables). |
56
+
| refMap | {} | A mapping of [resource resolutions](#resource-cloudformation-functions-resolution) for the `Ref` function |
57
+
| getAttMap | {} | A mapping of [resource resolutions](#resource-cloudformation-functions-resolution) for the `GetAtt` function |
58
+
| dynamoDb.endpoint |http://localhost:8000| Dynamodb endpoint. Specify it if you're not using serverless-dynamodb-local. Otherwise, port is taken from dynamodb-local conf |
59
+
| dynamoDb.region | localhost | Dynamodb region. Specify it if you're connecting to a remote Dynamodb intance. |
60
+
| dynamoDb.accessKeyId | DEFAULT_ACCESS_KEY | AWS Access Key ID to access DynamoDB |
If `true`, all environment variables (`$ env`) will be accessible from the resolver function.
161
+
162
+
If `false`, only environment variables defined in `serverless.yml` will be accessible from the resolver function.
163
+
164
+
> _Note: `serverless.yml` environment variables have higher priority than local environment variables. Thus some of your local environment variables, could get overridden by environment variables from `serverless.yml`._
165
+
150
166
## Limitations
151
167
152
168
This plugin only tries to resolve the following parts of the yml tree:
0 commit comments