This repository has been archived by the owner on Jun 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
117 lines (95 loc) · 3.18 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
variable "create_resource_group" {
description = "Whether to create resource group and use it for all networking resources"
default = false
}
variable "resource_group_name" {
description = "A container that holds related resources for an Azure solution"
default = "rg-demo-westeurope-01"
}
variable "location" {
description = "The location/region to keep all your network resources. To get the list of all locations with table format from azure cli, run 'az account list-locations -o table'"
default = "westeurope"
}
variable "enable_auditing_policy" {
description = "Audit policy for SQL server and database"
default = false
}
variable "enable_threat_detection_policy" {
description = ""
default = false
}
variable "sqlserver_name" {
description = "SQL server Name"
default = "sqldbserver-demodbapp"
}
variable "database_name" {
description = "The name of the database"
default = ""
}
variable "sql_database_edition" {
description = "The edition of the database to be created"
default = "Standard"
}
variable "sqldb_service_objective_name" {
description = " The service objective name for the database"
default = "S1"
}
variable "log_retention_days" {
description = "Specifies the number of days to keep in the Threat Detection audit logs"
default = "30"
}
variable "email_addresses_for_alerts" {
description = "A list of email addresses which alerts should be sent to."
default = []
}
variable "enable_sql_ad_admin" {
description = "Allows you to set a user or group as the AD administrator for an Azure SQL server"
default = false
}
variable "ad_admin_login_name" {
description = "The login name of the principal to set as the server administrator"
default = ""
}
variable "enable_firewall_rules" {
description = "Manage an Azure SQL Firewall Rule"
default = false
}
variable "enable_failover_group" {
description = "Create a failover group of databases on a collection of Azure SQL servers"
default = false
}
variable "secondary_sql_server_location" {
description = "Specifies the supported Azure location to create secondary sql server resource"
default = "northeurope"
}
variable "enable_private_endpoint" {
description = "Manages a Private Endpoint to SQL database"
default = false
}
variable "virtual_network_name" {
description = "The name of the virtual network"
}
variable "private_subnet_address_prefix" {
description = "The name of the subnet for private endpoints"
}
variable "firewall_rules" {
description = "Range of IP addresses to allow firewall connections."
type = list(object({
name = string
start_ip_address = string
end_ip_address = string
}))
default = []
}
variable "initialize_sql_script_execution" {
description = "Allow/deny to Create and initialize a Microsoft SQL Server database"
default = false
}
variable "sqldb_init_script_file" {
description = "SQL Script file name to create and initialize the database"
}
variable "tags" {
description = "A map of tags to add to all resources"
type = map(string)
default = {}
}