-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathvariables.tf
95 lines (81 loc) · 3.02 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
variable "resource_group_name" {
description = "Name of the resource group"
type = string
}
variable "environment" {
description = "Project environment"
type = string
}
variable "stack" {
description = "Project stack name"
type = string
}
variable "location" {
description = "Azure region to use"
type = string
}
variable "location_short" {
description = "Short string for Azure location"
type = string
}
variable "client_name" {
description = "Client name/account used in naming"
type = string
}
variable "managed_virtual_network_enabled" {
description = "True to enable managed virtual network"
type = bool
default = true
}
variable "public_network_enabled" {
description = "True to make data factory visible to the public network"
type = bool
default = false
}
variable "github_configuration" {
description = "Github configuration for data factory. See documentation at https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/data_factory#github_configuration"
type = map(string)
default = null
}
variable "global_parameters" {
description = "Global parameters for data factory. See documentation at https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/data_factory#global_parameter"
type = list(map(string))
default = []
}
variable "azure_devops_configuration" {
description = "Azure DevOps configuration for data factory. See documentation at https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/data_factory#vsts_configuration"
type = map(string)
default = null
}
variable "integration_runtime_type" {
description = "Specifies the integration runtime type. Possible values are `Azure`, `AzureSSIS` and `SelfHosted`"
type = string
default = null
validation {
condition = contains(["Azure", "SelfHosted", "AzureSSIS", null], var.integration_runtime_type)
error_message = "Possible values for `integration_runtime_type` variable are \"Azure\", \"AzureSSIS\" and \"SelfHosted\"."
}
}
variable "integration_runtime_description" {
description = "Integration runtime description"
type = string
default = null
}
variable "integration_runtime_configuration" {
description = <<EOF
Parameters used to configure `AzureSSIS` integration runtime:
`node_size` (optional, defaults to `Standard_D2_v3`)
`number_of_nodes` (optional, defaults to `1`)
`max_parallel_executions_per_nodes` (optional, defaults to `1`)
`edition` (optional, defaults to `Standard`)
`license_type` (optional, defaults to `LicenseIncluded`)
Parameters used to configure `Azure` integration runtime
`cleanup_enabled` (optional, defaults to `true`)
`compute_type` (optional, defaults to `General`)
`core_count` (optional, defaults to `8`)
`time_to_live_min` (optional, defaults to `0`)
`virtual_network_enabled` (optional, defaults to `false`)
EOF
type = map(any)
default = {}
}