add type for variables
This commit is contained in:
parent
93f6488941
commit
dfcd06404e
@ -1,34 +1,41 @@
|
||||
variable "resource_group_location" {
|
||||
type = string
|
||||
default = "eastus"
|
||||
description = "Location for all resources."
|
||||
}
|
||||
|
||||
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 "lab_name" {
|
||||
type = string
|
||||
description = "The name of the new lab instance to be created"
|
||||
default = "ExampleLab"
|
||||
}
|
||||
|
||||
variable "vm_name" {
|
||||
type = string
|
||||
description = "The name of the vm to be created."
|
||||
default = "example-vm"
|
||||
}
|
||||
|
||||
variable "vm_size" {
|
||||
type = string
|
||||
description = "The size of the vm to be created."
|
||||
default = "Standard_D4_v3"
|
||||
}
|
||||
|
||||
variable "user_name" {
|
||||
type = string
|
||||
description = "The username for the local account that will be created on the new vm."
|
||||
default = "exampleuser"
|
||||
}
|
||||
|
||||
variable "password" {
|
||||
type = string
|
||||
description = "The password for the local account that will be created on the new vm."
|
||||
sensitive = true
|
||||
default = null
|
||||
|
Loading…
x
Reference in New Issue
Block a user