Skip to content

Commit f0e2d41

Browse files
committed
301-hub-spoke - Created and added main.tf and variables.tf files
1 parent 9f30496 commit f0e2d41

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

quickstart/301-hub-spoke/main.tf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
terraform {
2+
required_providers {
3+
azurerm = {
4+
source = "hashicorp/azurerm"
5+
version = "~>2.0"
6+
}
7+
}
8+
}
9+
10+
provider "azurerm" {
11+
features {}
12+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
variable "location" {
2+
description = "Location of the network"
3+
default = "eastus"
4+
}
5+
6+
variable "username" {
7+
description = "Username for Virtual Machines"
8+
default = "azureuser"
9+
}
10+
11+
variable "password" {
12+
description = "Password for Virtual Machines"
13+
}
14+
15+
variable "vmsize" {
16+
description = "Size of the VMs"
17+
default = "Standard_DS1_v2"
18+
}

0 commit comments

Comments
 (0)