301-hub-spoke - Created and added main.tf and variables.tf files
This commit is contained in:
parent
9f3049620f
commit
f0e2d41e89
12
quickstart/301-hub-spoke/main.tf
Normal file
12
quickstart/301-hub-spoke/main.tf
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
terraform {
|
||||||
|
required_providers {
|
||||||
|
azurerm = {
|
||||||
|
source = "hashicorp/azurerm"
|
||||||
|
version = "~>2.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "azurerm" {
|
||||||
|
features {}
|
||||||
|
}
|
18
quickstart/301-hub-spoke/variables.tf
Normal file
18
quickstart/301-hub-spoke/variables.tf
Normal 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"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user