1+ # TODO set the variables below either enter them in plain text after = sign, or change them in variables.tf
2+ # (var.xyz will take the default value from variables.tf if you don't change it)
3+
14# Create resource group
25resource "azurerm_resource_group" "example" {
36 name = var. azurerm_resource_group_name
@@ -15,7 +18,7 @@ resource "azurerm_network_security_group" "example" {
1518resource "azurerm_virtual_network" "example" {
1619 name = var. azurerm_virtual_network_name
1720 resource_group_name = azurerm_resource_group. example . name
18- address_space = [" 10.0.0.0/16 " ]
21+ address_space = [" 10.0.0.0/24 " ]
1922 location = azurerm_resource_group. example . location
2023}
2124
@@ -24,7 +27,7 @@ resource "azurerm_subnet" "example" {
2427 name = var. azurerm_subnet_name
2528 resource_group_name = azurerm_resource_group. example . name
2629 virtual_network_name = azurerm_virtual_network. example . name
27- address_prefixes = [" 10.0.0.0/24 " ]
30+ address_prefixes = [" 10.0.0.0/27 " ]
2831
2932 delegation {
3033 name = " managedinstancedelegation"
@@ -69,8 +72,6 @@ resource "azurerm_mssql_managed_instance" "example" {
6972 resource_group_name = azurerm_resource_group. example . name
7073 location = azurerm_resource_group. example . location
7174 subnet_id = azurerm_subnet. example . id
72- # TODO set the options below either in plain text or in variables.tf
73- # (var.xyz will prompt you to enter the value when creating the plan)
7475 administrator_login = var. administrator_login
7576 administrator_login_password = var. administrator_login_password
7677 license_type = var. license_type
0 commit comments