-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
51 lines (43 loc) · 1.08 KB
/
Copy pathvariables.tf
File metadata and controls
51 lines (43 loc) · 1.08 KB
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
variable "server_name" {
description = "Name of the SQL server (must be globally unique)"
type = string
}
variable "database_name" {
description = "Name of the SQL database"
type = string
default = "workshopdb"
}
variable "resource_group_name" {
description = "Name of the resource group"
type = string
default = "se-rg"
}
variable "location" {
description = "Azure region"
type = string
default = "westus2"
}
variable "admin_login" {
description = "Administrator login for the SQL server"
type = string
}
variable "admin_password" {
description = "Administrator password for the SQL server"
type = string
sensitive = true
}
variable "sku_name" {
description = "SKU name for the database (e.g., Basic, S0, S1, GP_S_Gen5_1)"
type = string
default = "Basic"
}
variable "max_size_gb" {
description = "Maximum size of the database in GB"
type = number
default = 2
}
variable "tags" {
description = "Tags to apply to resources"
type = map(string)
default = {}
}