Skip to content

Commit

Permalink
removed unnecessary resources from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
QBY-ChristianHartmann committed Apr 9, 2024
1 parent 6c7fcfd commit ee4aebb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 44 deletions.
22 changes: 0 additions & 22 deletions examples/advanced/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,6 @@ resource "azurerm_resource_group" "example" {
location = local.location
}

resource "azurerm_virtual_network" "example" {
name = "vnet-example"
address_space = ["10.0.0.0/16"]
location = local.location
resource_group_name = azurerm_resource_group.example.name
}

resource "azurerm_subnet" "example" {
name = "AzureFirewallSubnet" # Must be exact 'AzureFirewallSubnet'
resource_group_name = azurerm_resource_group.example.name
virtual_network_name = azurerm_virtual_network.example.name
address_prefixes = ["10.0.0.0/16"]
}

resource "azurerm_public_ip" "example" {
name = "pip-example"
location = local.location
resource_group_name = azurerm_resource_group.example.name
allocation_method = "Static"
sku = "Standard"
}

resource "azurerm_firewall_policy" "example" {
name = "fwp-example"
resource_group_name = azurerm_resource_group.example.name
Expand Down
22 changes: 0 additions & 22 deletions examples/basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,6 @@ resource "azurerm_resource_group" "example" {
location = local.location
}

resource "azurerm_virtual_network" "example" {
name = "vnet-example"
address_space = ["10.0.0.0/16"]
location = local.location
resource_group_name = azurerm_resource_group.example.name
}

resource "azurerm_subnet" "example" {
name = "AzureFirewallSubnet" # Must be exact 'AzureFirewallSubnet'
resource_group_name = azurerm_resource_group.example.name
virtual_network_name = azurerm_virtual_network.example.name
address_prefixes = ["10.0.0.0/16"]
}

resource "azurerm_public_ip" "example" {
name = "pip-example"
location = local.location
resource_group_name = azurerm_resource_group.example.name
allocation_method = "Static"
sku = "Standard"
}

resource "azurerm_firewall_policy" "example" {
name = "fwp-example"
resource_group_name = azurerm_resource_group.example.name
Expand Down

0 comments on commit ee4aebb

Please sign in to comment.