-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
68 lines (63 loc) · 2.52 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
variable "component" {
description = "The component for which this API gateway exists."
type = string
}
variable "deployment_identifier" {
description = "An identifier for this instantiation."
type = string
}
variable "protocol_type" {
description = "The API protocol to use for the API gateway. Defaults to \"HTTP\"."
type = string
default = "HTTP"
}
variable "hosted_zone_id" {
description = "The ID of the Route 53 hosted zone in which to create DNS records."
type = string
default = ""
}
variable "default_stage_domain_name" {
description = "The domain name to map to the API gateway's default stage. Required when both the default stage and default stage domain name are included."
type = string
default = ""
}
variable "default_stage_domain_name_certificate_arn" {
description = "The ARN of an AWS managed certificate to use for the default stage domain name. Required when both the default stage and default stage domain name are included."
type = string
default = ""
}
variable "tags" {
description = "Additional tags to set on created resources."
type = map(string)
default = {}
}
variable "include_default_tags" {
description = "Whether or not to include default tags on created resources. Defaults to `true`."
type = bool
default = true
}
variable "include_default_stage" {
description = "Whether or not to create a default stage for the API gateway. Defaults to `true`."
type = bool
default = true
}
variable "include_default_stage_domain_name" {
description = "Whether or not to create a domain name for the default stage of the API gateway. Only relevant when the default stage is included. Defaults to `true`."
type = bool
default = true
}
variable "include_default_stage_dns_record" {
description = "Whether or not to create a DNS record in Route 53 for the domain name of the default stage of the API gateway. Only relevant when both the default stage and default stage domain name are included. Defaults to `true`."
type = bool
default = true
}
variable "enable_execute_api_endpoint" {
description = "Whether or not to enable the execute API endpoint on the API gateway. Defaults to `true`."
type = bool
default = true
}
variable "enable_default_stage_auto_deploy" {
description = "Whether or not to enable auto-deploy for the created default stage. Only relevant when the default stage is included. Defaults to `true`."
type = bool
default = true
}