Skip to content

Commit

Permalink
feat: move block to help terraform
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Klingenberg <[email protected]>
  • Loading branch information
fredrkl committed Nov 12, 2023
1 parent 36e4e99 commit f626a9e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions terraform/modules/network/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ resource "azurerm_subnet" "jumphost_subnet" {
address_prefixes = ["10.1.3.32/27"]
}

moved {
from = azurerm_subnet.jumphost_subnet_id
to = azurerm_subnet.jumphost_subnet
}

resource "azurerm_network_security_group" "example" {
name = "example-nsg"
location = var.resource_group.location
Expand Down

0 comments on commit f626a9e

Please sign in to comment.