Skip to content

Commit 079f82b

Browse files
author
Uros Randelovic
committed
- pr comments
1 parent cfe7e10 commit 079f82b

File tree

1 file changed

+5
-4
lines changed
  • quickstart/101-managed-instance

1 file changed

+5
-4
lines changed

quickstart/101-managed-instance/main.tf

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
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
25
resource "azurerm_resource_group" "example" {
36
name = var.azurerm_resource_group_name
@@ -15,7 +18,7 @@ resource "azurerm_network_security_group" "example" {
1518
resource "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

Comments
 (0)