forked from Azure/terraform-azurerm-database
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
60 lines (48 loc) · 1.69 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
variable "resource_group_name" {
description = "Default resource group name that the database will be created in."
default = "myapp-rg"
}
variable "location" {
description = "The location/region where the database and server are created. Changing this forces a new resource to be created."
}
variable "server_version" {
description = "The version for the database server. Valid values are: 2.0 (for v11 server) and 12.0 (for v12 server)."
default = "12.0"
}
variable "db_name" {
description = "The name of the database to be created."
}
variable "db_edition" {
description = "The edition of the database to be created."
default = "Basic"
}
variable "service_objective_name" {
description = "The performance level for the database. For the list of acceptable values, see https://docs.microsoft.com/en-gb/azure/sql-database/sql-database-service-tiers. Default is Basic."
default = "Basic"
}
variable "collation" {
description = "The collation for the database. Default is SQL_Latin1_General_CP1_CI_AS"
default = "SQL_Latin1_General_CP1_CI_AS"
}
variable "sql_admin_username" {
description = "The administrator username of the SQL Server."
}
variable "sql_password" {
description = "The administrator password of the SQL Server."
}
variable "start_ip_address" {
description = "Defines the start IP address used in your database firewall rule."
default = "0.0.0.0"
}
variable "end_ip_address" {
description = "Defines the end IP address used in your database firewall rule."
default = "0.0.0.0"
}
variable "tags" {
description = "The tags to associate with your network and subnets."
type = "map"
default = {
tag1 = ""
tag2 = ""
}
}