@@ -12,7 +12,7 @@ provider "azurerm" {
1212
1313module "mssql-server" {
1414 source = "kumarvna/mssql-db/azurerm"
15- version = "1.2 .0"
15+ version = "1.3 .0"
1616
1717 # By default, this module will create a resource group
1818 # proivde a name to use an existing resource group and set the argument
@@ -23,17 +23,17 @@ module "mssql-server" {
2323 location = "westeurope"
2424
2525 # 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
2727 sqlserver_name = "sqldbserver01"
2828 database_name = "demomssqldb"
2929 sql_database_edition = "Standard"
3030 sqldb_service_objective_name = "S1"
3131
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
3737 enable_threat_detection_policy = true
3838 log_retention_days = 30
3939
@@ -51,7 +51,7 @@ module "mssql-server" {
5151 enable_log_monitoring = true
5252 log_analytics_workspace_name = "loganalytics-we-sharedtest2"
5353
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.
5555 enable_firewall_rules = true
5656 firewall_rules = [
5757 {
@@ -66,12 +66,6 @@ module "mssql-server" {
6666 }
6767 ]
6868
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-
7569 # Tags for Azure Resources
7670 tags = {
7771 Terraform = "true"
0 commit comments