-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
152 lines (131 loc) · 2.96 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
/*
* base_config
*/
variable "region" {
description = "TencentCloud region to launch resources."
type = string
default = ""
}
variable "domain" {
description = "Name of the acceleration domain."
type = string
default = ""
}
variable "service_type" {
description = "Service type of acceleration domain name."
type = string
default = ""
}
variable "area" {
description = "Domain name acceleration region."
type = string
default = "mainland"
}
variable "follow_redirect_switch" {
description = "301/302 redirect following switch."
type = string
default = "off"
}
variable "range_origin_switch" {
description = "Sharding back to source configuration switch."
type = string
default = "on"
}
variable "tags" {
description = "A map of tags to add to all resources."
type = map(string)
default = {}
}
/*
* origin_config
*/
variable "origin_type" {
description = "Master origin server type."
type = string
default = ""
}
variable "origin_list" {
description = "Master origin server list."
type = list(string)
default = []
}
variable "origin_pull_protocol" {
description = "Origin-pull protocol configuration."
type = string
default = "follow"
}
variable "cos_private_access" {
description = "When OriginType is COS, you can specify if access to private buckets is allowed."
type = string
default = "off"
}
/*
* https_config
*/
variable "https_switch" {
description = "HTTPS configuration switch."
type = string
default = "off"
}
variable "http2_switch" {
description = "HTTP2 configuration switch."
type = string
default = "off"
}
variable "ocsp_stapling_switch" {
description = "OCSP configuration switch."
type = string
default = "off"
}
variable "spdy_switch" {
description = "Spdy configuration switch.This parameter is for white-list customer."
type = string
default = "off"
}
variable "verify_client" {
description = "Client certificate authentication feature."
type = string
default = "off"
}
variable "force_redirect" {
description = "Configuration of forced HTTP or HTTPS redirects."
type = any
default = {}
}
/*
* request_config
*/
variable "request_switch" {
description = "Custom request header configuration switch."
type = string
default = "off"
}
variable "header_rules" {
description = "Custom request header configuration rules."
type = any
default = {}
}
/*
* cache_config
*/
variable "cache_key" {
description = "Cache key configuration (Ignore Query String configuration)"
type = any
default = {}
}
/*
* url_purge
*/
variable "url_purge" {
description = "List of url to purge."
type = list(string)
default = []
}
/*
* url_push
*/
variable "url_push" {
description = "List of url to push."
type = list(string)
default = []
}