|
| 1 | +variable "server_id" { |
| 2 | + type = string |
| 3 | + description = "Id of SQL server" |
| 4 | +} |
| 5 | + |
| 6 | +variable "server_fqdn" { |
| 7 | + type = string |
| 8 | + description = "FQDN of Azure SQL Server" |
| 9 | +} |
| 10 | + |
| 11 | +variable "default_collation" { |
| 12 | + type = string |
| 13 | + description = "Specifies the collation of the database" |
| 14 | + default = "SQL_Latin1_General_CP1_CI_AS" |
| 15 | +} |
| 16 | + |
| 17 | +variable "default_sku" { |
| 18 | + type = string |
| 19 | + description = "Specifies the SKU of the database" |
| 20 | + default = "GP_S_Gen5_1" |
| 21 | +} |
| 22 | + |
| 23 | +variable "default_max_size" { |
| 24 | + type = string |
| 25 | + description = "The max size of the database in gigabytes" |
| 26 | + default = "20" |
| 27 | +} |
| 28 | + |
| 29 | +variable "default_min_capacity" { |
| 30 | + type = string |
| 31 | + description = "The max size of the database in gigabytes" |
| 32 | + default = "0.5" |
| 33 | +} |
| 34 | + |
| 35 | +variable "default_autopause_delay" { |
| 36 | + type = number |
| 37 | + description = "Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled" |
| 38 | + default = 60 |
| 39 | +} |
| 40 | + |
| 41 | +variable "default_retention_days" { |
| 42 | + type = number |
| 43 | + description = "Specifies the number of days to keep in the Threat Detection audit logs." |
| 44 | + default = 3 |
| 45 | +} |
| 46 | + |
| 47 | +variable "default_create_mode" { |
| 48 | + type = string |
| 49 | + description = "Type of create mode selected in database config object" |
| 50 | + default = "Default" |
| 51 | +} |
| 52 | + |
| 53 | +variable "default_creation_source_database_id" { |
| 54 | + type = string |
| 55 | + description = "This variable is used in case 'create_mode'='Copy'" |
| 56 | + default = null |
| 57 | +} |
| 58 | + |
| 59 | +variable "storage_account_type" { |
| 60 | + type = string |
| 61 | + description = "Specifies the storage account type used to store backups for this database" |
| 62 | + default = "ZRS" |
| 63 | +} |
| 64 | + |
| 65 | +variable "databases" { |
| 66 | + type = map(map(string)) |
| 67 | + description = "Map of databases" |
| 68 | + default = {} |
| 69 | +} |
0 commit comments