Skip to content

Commit

Permalink
interim commit
Browse files Browse the repository at this point in the history
  • Loading branch information
netevert committed Feb 2, 2021
1 parent f6fd202 commit b0fec18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lab/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ resource "azurerm_virtual_network" "vnet" {
address_space = ["10.0.0.0/16"]
location = var.location
resource_group_name = var.prefix
dns_servers = ["10.0.1.4", "8.8.8.8"]
tags = var.tags
}

Expand Down Expand Up @@ -126,7 +127,8 @@ resource "azurerm_network_interface" "dc1_nic" {
ip_configuration {
name = "${var.workstations.dc1}-nic-conf"
subnet_id = azurerm_subnet.subnet.id
private_ip_address_allocation = "dynamic"
private_ip_address_allocation = "Static"
private_ip_address = "10.0.1.4"
public_ip_address_id = azurerm_public_ip.dc1_publicip.id
}
depends_on = [azurerm_public_ip.dc1_publicip]
Expand Down

0 comments on commit b0fec18

Please sign in to comment.