-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
15 lines (15 loc) · 2.08 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
variable "unit_resolvers_path" {
description = "Filesystem path to the directory that contains the AppSync unit resolvers. Within this directory are directories with names corresponding to the names of each datasource. Within each datasource directory are directories with names corresponding to the resolver type (e.g. `Query`, `Mutation`). Within each type directory are directories with names corresponding to the names of each unit resolver. Within each unit resolver directory are two files: `request.vtl` and `response.vtl`, containing the request mapping templates and response mapping templates, respectively. If `null`, no unit resolvers will be processed."
type = string
default = null
}
variable "functions_path" {
description = "Filesystem path to the directory that contains the AppSync functions. Within this directory are directories with names corresponding to the names of each datasource. Within each datasource directory are directories with names corresponding to the names of each function. Within each function directory are two files: `request.vtl` and `response.vtl`, containing the request mapping templates and response mapping templates, respectively. If `null`, no functions will be processed."
type = string
default = null
}
variable "pipeline_resolvers_path" {
description = "Filesystem path to the directory that contains the AppSync pipeline resolvers. Within this directory are directories with names corresponding to the resolver type (e.g. `Query`, `Mutation`). Within each type directory are directories with names corresponding to the names of each pipeline resolver. Within each pipeline resolver there are three files: `request.vtl`, `response.vtl`, and `functions.txt`, containing the request mapping templates, response mapping templates, and functions list, respectively. The functions list consists of a list of function keys in the format of `DatasourceName/FunctionName` (matching the directory structure of the corresponding function). If `null`, no pipeline resolvers will be processed."
type = string
default = null
}