Skip to content

Commit 5821453

Browse files
committed
relese update for simple DB example
1 parent 908a777 commit 5821453

File tree

2 files changed

+9
-21
lines changed

2 files changed

+9
-21
lines changed

examples/Simple_SQL_Single_Database_creation/README.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ provider "azurerm" {
1212
1313
module "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"

examples/Simple_SQL_Single_Database_creation/main.tf

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ provider "azurerm" {
55

66
module "mssql-server" {
77
source = "kumarvna/mssql-db/azurerm"
8-
version = "1.2.0"
8+
version = "1.3.0"
99

1010
# By default, this module will create a resource group
1111
# proivde a name to use an existing resource group and set the argument
@@ -59,12 +59,6 @@ module "mssql-server" {
5959
}
6060
]
6161

62-
# Create and initialize a database with custom SQL script
63-
# need sqlcmd utility to run this command
64-
# your desktop public IP must be added firewall rules to run this command
65-
initialize_sql_script_execution = true
66-
sqldb_init_script_file = "../artifacts/db-init-sample.sql"
67-
6862
# Tags for Azure Resources
6963
tags = {
7064
Terraform = "true"

0 commit comments

Comments
 (0)