add new files to new branch

This commit is contained in:
cshea15 2023-09-23 16:05:24 -04:00
parent bf91a62e3b
commit d6cb019394
5 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,18 @@
output "resource_group_name" {
value = azurerm_resource_group.rg.name
}
output "virtual_hub_name" {
value = azurerm_virtual_hub.azfw_vwan_hub.name
}
output "jump_admin_password" {
sensitive = true
value = azurerm_windows_virtual_machine.vm_jump.admin_password
}
output "service_admin_password" {
sensitive = true
value = azurerm_windows_virtual_machine.vm_workload.admin_password
}

View File

@ -0,0 +1,21 @@
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~>3.0"
}
random = {
source = "hashicorp/random"
version = "~>3.0"
}
}
}
provider "azurerm" {
features {
virtual_machine {
delete_os_disk_on_deletion = true
skip_shutdown_and_force_delete = true
}
}
}

View File

@ -0,0 +1,27 @@
variable "resource_group_location" {
type = string
description = "Location for all resources."
default = "eastus"
}
variable "resource_group_name_prefix" {
type = string
description = "Prefix for the Resource Group Name that's combined with a random id so name is unique in your Azure subcription."
default = "rg"
}
variable "firewall_sku_name" {
type = string
description = "SKU name for the firewall."
default = "Premium" # Valid values are Standard and Premium
}
variable "virtual_machine_size" {
type = string
description = "Size of the virtual machine."
default = "Standard_D2_v3"
}
variable "admin_username" {
default = "azureuser"
}