Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2- Create a "Resource groups" : 


# Group of resources
resource "azurerm_resource_group" "grp_demo" ( name & location )

# Network : CIDR block
resource "azurerm_virtual_network" "vnet_demo"

#create 3 subnets: ( mapped to r.group & v.net )
resource "azurerm_subnet"

# create Public IP address for Mgt and untrusted interface
resource "azurerm_public_ip"

# create interface ( connection ) in the three subnet
resource "azurerm_network_interface"

#Create storage account
resource "azurerm_storage_account"

#create the VM: vsrx1
resource "azurerm_virtual_machine"

#Create default route / static route for the trusted and untrusted subnets
resource "azurerm_route_table"