added sample for creating a NAT gateway with a virtual machine and corresponding network, subnet and public IP addresses

This commit is contained in:
asudbring
2024-01-19 23:58:31 -08:00
committed by lonegunmanb
parent 7e1008fa74
commit 482e26632b
6 changed files with 265 additions and 0 deletions

View File

@ -0,0 +1,17 @@
variable "resource_group_location" {
type = string
default = "eastus"
description = "Location of the resource group."
}
variable "resource_group_name_prefix" {
type = string
default = "rg"
description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription."
}
variable "username" {
type = string
description = "The username for the local account that will be created on the new VM."
default = "azureuser"
}