301-hub-spoke - Created and added main.tf and variables.tf files

This commit is contained in:
Tom Archer 2021-07-31 12:49:54 -07:00
parent 9f3049620f
commit f0e2d41e89
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,12 @@
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~>2.0"
}
}
}
provider "azurerm" {
features {}
}

View File

@ -0,0 +1,18 @@
variable "location" {
description = "Location of the network"
default = "eastus"
}
variable "username" {
description = "Username for Virtual Machines"
default = "azureuser"
}
variable "password" {
description = "Password for Virtual Machines"
}
variable "vmsize" {
description = "Size of the VMs"
default = "Standard_DS1_v2"
}