-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
135 lines (114 loc) · 3.87 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
# ---------
# VARIABLES
# ---------
# Basics
variable "artifacts_path" {
description = "(Required) Artifacts folder path. Path should be relative to your root module path."
type = string
default = "artifacts"
}
variable "allow_api_without_path" {
description = "(Optional) Set to 'true' if you want it to be possible to publish API without path / API URL suffix."
type = bool
default = false
}
# API Management
variable "api_management_name" {
description = "(Required) The name of the API Management Service."
type = string
}
variable "api_management_resource_group_name" {
description = "(Required) The name of the Resource Group in which the API Management Service exists."
type = string
}
# Application Insights
## Only needed if diagnostic logs are configured on an API
variable "application_insights_name" {
description = "(Optional) The name of the Application Insights component used for diagnostic logs."
type = string
default = null
}
variable "application_insights_resource_group_name" {
description = "(Optional) The name of the Resource Group in which the pplication Insights component exists."
type = string
default = null
}
# Filenames
## apiVersionSets
variable "api_version_set_information_filename" {
description = "(Optional) Filename for the API Version Set configuration file."
type = string
default = "apiVersionSetInformation.json"
}
## apis
variable "api_information_filename" {
description = "(Optional) Filename for the API configuration file."
type = string
default = "apiInformation.json"
}
variable "api_specification_filename_json" {
description = "(Optional) Filename for the API specification JSON file."
type = string
default = "specification.json"
}
variable "api_specification_filename_yaml" {
description = "(Optional) Filename for the API specification YAML file."
type = string
default = "specification.yaml"
}
variable "api_policy_filename" {
description = "(Optional) Filename for the API policy file."
type = string
default = "policy.xml"
}
variable "api_policy_fallback_to_default_filename" {
description = "(Optional) Option to fallback to policy.xml if policy file in var.api_policy_filename doesn't exist."
type = bool
default = false
}
## backends
variable "backend_information_filename" {
description = "(Optional) Filename for the backend configuration file."
type = string
default = "backendInformation.json"
}
## certificates
variable "certificates_information_filename" {
description = "(Optional) Filename for the certificates configuration file."
type = string
default = "certificatesInformation.json"
}
## groups
variable "groups_information_filename" {
description = "(Optional) Filename for the groups configuration file."
type = string
default = "groupsInformation.json"
}
## named-values
variable "named_value_information_filename" {
description = "(Optional) Filename for the named value configuration file."
type = string
default = "namedValueInformation.json"
}
## products
variable "product_information_filename" {
description = "(Optional) Filename for the product configuration file."
type = string
default = "productInformation.json"
}
variable "product_policy_filename" {
description = "(Optional) Filename for the product policy file."
type = string
default = "policy.xml"
}
variable "product_policy_fallback_to_default_filename" {
description = "(Optional) Option to fallback to policy.xml if policy file in var.product_policy_filename doesn't exist."
type = bool
default = false
}
## tags
variable "tags_information_filename" {
description = "(Optional) Filename for the tags configuration file."
type = string
default = "tagsInformation.json"
}