-
Notifications
You must be signed in to change notification settings - Fork 6
/
variables.tf
40 lines (34 loc) · 1.37 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
variable "region" {
description = "The region into which to deploy the API gateway REST API."
}
variable "component" {
description = "The component for which the API gateway REST API is being created."
}
variable "deployment_identifier" {
description = "An identifier for this instantiation."
}
variable "api_name" {
description = "The name of the API within the component or service. Used as part of naming the REST API resource."
default = "default"
nullable = false
}
variable "api_gateway_rest_api_endpoint_type" {
description = "The type of the endpoints in this REST API. Valid values: EDGE, REGIONAL or PRIVATE. Defaults to EDGE."
default = "EDGE"
nullable = false
}
variable "api_gateway_rest_api_vpc_endpoint_ids" {
description = "The VPC endpoint IDs to associate with the REST API when it is deployed privately. Required when `api_gateway_rest_api_endpoint_type` is \"PRIVATE\"."
type = list(string)
default = null
}
variable "api_gateway_rest_api_source_policy_document" {
description = "A source policy document for the policy associated with the REST API. Only required if `include_api_gateway_rest_api_policy` is true."
default = ""
nullable = false
}
variable "include_api_gateway_rest_api_policy" {
description = "Whether or not to include an IAM policy on the REST API. Defaults to false."
default = false
nullable = false
}