Skip to content

Commit a18de80

Browse files
authored
Merge pull request #3 from kumarvna/develop
adding terraform v0.15 support
2 parents e220c1d + e5c5f17 commit a18de80

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ module "mssql-server" {
3131
3232
# By default, this module will not create a resource group
3333
# proivde a name to use an existing resource group, specify the existing resource group name,
34-
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
35-
resource_group_name = "rg-shared-westeurope-01"
36-
location = "westeurope"
37-
virtual_network_name = "vnet-shared-hub-westeurope-001"
34+
# and set the argument to `create_resource_group = false`. Location will be same as existing RG.
35+
create_resource_group = false
36+
resource_group_name = "rg-shared-westeurope-01"
37+
location = "westeurope"
38+
virtual_network_name = "vnet-shared-hub-westeurope-001"
39+
private_subnet_address_prefix = ["10.1.5.0/29"]
3840
3941
# SQL Server and Database details
4042
# The valid service objective name for the database include S0, S1, S2, S3, P1, P2, P4, P6, P11
@@ -56,6 +58,13 @@ module "mssql-server" {
5658
enable_vulnerability_assessment = false
5759
email_addresses_for_alerts = ["[email protected]", "[email protected]"]
5860
61+
# Sql failover group creation. required secondary locaiton input.
62+
enable_failover_group = true
63+
secondary_sql_server_location = "northeurope"
64+
65+
# enabling the Private Endpoints for Sql servers
66+
enable_private_endpoint = true
67+
5968
# AD administrator for an Azure SQL server
6069
# Allows you to set a user or group as the AD administrator for an Azure SQL server
6170
ad_admin_login_name = "[email protected]"
@@ -81,8 +90,8 @@ module "mssql-server" {
8190
]
8291
8392
# Create and initialize a database with custom SQL script
84-
# need sqlcmd utility to run this command
85-
# your desktop public IP must be added firewall rules to run this command
93+
# need sqlcmd utility to run this command
94+
# your desktop public IP must be added to firewall rules to run this command
8695
initialize_sql_script_execution = true
8796
sqldb_init_script_file = "../artifacts/db-init-sample.sql"
8897

0 commit comments

Comments
 (0)