Skip to content

vMarkusK/hubandpoke-minimum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

202 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Hub & Spoke Minimum

Azure Hub & Spoke Minimum Deployment with Pipeline.

Requirements

Name Version
terraform ~> 1.10.2
azurerm ~> 4.14.0
random ~> 3.6.3

Providers

Name Version
azurerm ~> 4.14.0
random ~> 3.6.3

Modules

Name Source Version
spoke1network ./modules/spokedefault n/a
spoke2network ./modules/spokedefault n/a
ubunturoutervm ./modules/ubuntuvm n/a
ubuntuspoke1 ./modules/ubuntuvm n/a
ubuntuspoke2 ./modules/ubuntuvm n/a

Resources

Name Type
azurerm_log_analytics_workspace.law_platform resource
azurerm_monitor_diagnostic_setting.nsg_router resource
azurerm_network_connection_monitor.spoke1vm_monitor_ubuntucom resource
azurerm_network_connection_monitor.spoke2vm_monitor_ubuntucom resource
azurerm_network_connection_monitor.ubunturoutervm_monitor_ubuntucom resource
azurerm_network_security_group.nsg_router resource
azurerm_network_watcher.networkwatcher_hub resource
azurerm_network_watcher_flow_log.hub resource
azurerm_network_watcher_flow_log.spoke1 resource
azurerm_network_watcher_flow_log.spoke2 resource
azurerm_resource_group.rg_compute resource
azurerm_resource_group.rg_hub resource
azurerm_storage_account.flow resource
azurerm_subnet.hub_subnet resource
azurerm_subnet_network_security_group_association.nsg_router-association resource
azurerm_virtual_machine_extension.spoke1vm_networkwatcher resource
azurerm_virtual_machine_extension.spoke2vm_networkwatcher resource
azurerm_virtual_machine_extension.ubunturoutervm_networkwatcher resource
azurerm_virtual_network.hub_vnet resource
random_id.id_flow resource
azurerm_key_vault.secrets data source
azurerm_key_vault_secret.vmpassword data source
azurerm_monitor_diagnostic_categories.nsg_logs data source

Inputs

Name Description Type Default Required
hub_rg_name Name of the Hub RG string n/a yes
hub_router_hostname Hostname of Router VM string n/a yes
hub_vnet_addressspace Address Space of the Hub VNet list(string) n/a yes
hub_vnet_name Name of the Hub VNet string n/a yes
hub_vnet_subnets Subnets of the Hub VNet
list(object({
name = string
cidr = list(string)
}))
n/a yes
location Location for all resources string n/a yes
myip My OnPrem IP to Access Router string n/a yes
rg_compute_name Compute RG Name string n/a yes
spoke1_address_space spoke1 Address Space string n/a yes
spoke1_rg_name spoke1 RG name string n/a yes
spoke1_vm_hostname Hostname of spoke1 VM string n/a yes
spoke1_vnet_name spoke1 vnet name string n/a yes
spoke1_vnet_subnets Subnets of the spoke1 VNet
list(object({
name = string
cidr = list(string)
outbound_access_enabled = bool
}))
n/a yes
spoke2_address_space spoke2 Address Space string n/a yes
spoke2_rg_name spoke2 RG name string n/a yes
spoke2_vm_hostname Hostname of spoke1 VM string n/a yes
spoke2_vnet_name spoke2 vnet name string n/a yes
spoke2_vnet_subnets Subnets of the spoke2 VNet
list(object({
name = string
cidr = list(string)
outbound_access_enabled = bool
}))
n/a yes
subscription_id Subscription ID for all resources string n/a yes
tags The tags to associate with your network and subnets. map(string) n/a yes
vm_admin_user Username for Virtual Machines string n/a yes
vm_size Size of the VMs string n/a yes
vm_size_router Size of the router VM string n/a yes

Outputs

Name Description
router_public_dns_fqdn n/a
router_public_ip n/a
router_vm_private_ip n/a
spoke1_vm_private_ip n/a
spoke2_vm_private_ip n/a
vm_username n/a

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published