@@ -12,7 +12,7 @@ provider "azurerm" {
12
12
13
13
module "mssql-server" {
14
14
source = "kumarvna/mssql-db/azurerm"
15
- version = "1.2 .0"
15
+ version = "1.3 .0"
16
16
17
17
# By default, this module will create a resource group
18
18
# proivde a name to use an existing resource group and set the argument
@@ -23,17 +23,17 @@ module "mssql-server" {
23
23
location = "westeurope"
24
24
25
25
# SQL Server and Database details
26
- # The valid service objective name for the database include S0, S1, S2, S3, P1, P2, P4, P6, P11
26
+ # The valid service objective name for the database include S0, S1, S2, S3, P1, P2, P4, P6, P11
27
27
sqlserver_name = "sqldbserver01"
28
28
database_name = "demomssqldb"
29
29
sql_database_edition = "Standard"
30
30
sqldb_service_objective_name = "S1"
31
31
32
- # SQL server extended auditing policy defaults to `true`.
33
- # To turn off set enable_sql_server_extended_auditing_policy to `false`
34
- # DB extended auditing policy defaults to `false`.
35
- # to tun on set the variable `enable_database_extended_auditing_policy` to `true`
36
- # To enable Azure Defender for database set `enable_threat_detection_policy` to true
32
+ # SQL server extended auditing policy defaults to `true`.
33
+ # To turn off set enable_sql_server_extended_auditing_policy to `false`
34
+ # DB extended auditing policy defaults to `false`.
35
+ # to tun on set the variable `enable_database_extended_auditing_policy` to `true`
36
+ # To enable Azure Defender for database set `enable_threat_detection_policy` to true
37
37
enable_threat_detection_policy = true
38
38
log_retention_days = 30
39
39
@@ -51,7 +51,7 @@ module "mssql-server" {
51
51
enable_log_monitoring = true
52
52
log_analytics_workspace_name = "loganalytics-we-sharedtest2"
53
53
54
- # Firewall Rules to allow azure and external clients and specific Ip address/ranges.
54
+ # Firewall Rules to allow azure and external clients and specific Ip address/ranges.
55
55
enable_firewall_rules = true
56
56
firewall_rules = [
57
57
{
@@ -66,12 +66,6 @@ module "mssql-server" {
66
66
}
67
67
]
68
68
69
- # Create and initialize a database with custom SQL script
70
- # need sqlcmd utility to run this command
71
- # your desktop public IP must be added firewall rules to run this command
72
- initialize_sql_script_execution = true
73
- sqldb_init_script_file = "../artifacts/db-init-sample.sql"
74
-
75
69
# Tags for Azure Resources
76
70
tags = {
77
71
Terraform = "true"
0 commit comments