Skip to content

Commit

Permalink
split terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
Quskia committed Feb 21, 2023
1 parent 5bcf779 commit eff485b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,10 @@ resource "azurerm_virtual_network" "myVnet" {
resource_group_name = azurerm_resource_group.discBotGPT.name
}


resource "azurerm_subnet" "mySubnet" {
name = "mySubnet"
resource_group_name = azurerm_resource_group.discBotGPT.name
virtual_network_name = azurerm_virtual_network.myVnet.name
address_prefixes = ["10.0.1.0/24"]
}

0 comments on commit eff485b

Please sign in to comment.