-
Notifications
You must be signed in to change notification settings - Fork 177
/
variables.tf
91 lines (74 loc) · 2.52 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
##############################################################################
# Variables File
#
# Here is where we store the default values for all the variables used in our
# Terraform code. If you create a variable with no default, the user will be
# prompted to enter it (or define it via config file or command line flags.)
variable "resource_group" {
description = "The name of your Azure Resource Group."
default = "Terraform-Azure-Beginners"
}
variable "prefix" {
description = "This prefix will be included in the name of some resources."
default = "tfguide"
}
variable "hostname" {
description = "Virtual machine hostname. Used for local hostname, DNS, and storage-related names."
default = "catapp"
}
variable "location" {
description = "The region where the virtual network is created."
default = "centralus"
}
variable "virtual_network_name" {
description = "The name for your virtual network."
default = "vnet"
}
variable "address_space" {
description = "The address space that is used by the virtual network. You can supply more than one address space. Changing this forces a new resource to be created."
default = "10.0.0.0/16"
}
variable "subnet_prefix" {
description = "The address prefix to use for the subnet."
default = "10.0.10.0/24"
}
variable "storage_account_tier" {
description = "Defines the storage tier. Valid options are Standard and Premium."
default = "Standard"
}
variable "storage_replication_type" {
description = "Defines the replication type to use for this storage account. Valid options include LRS, GRS etc."
default = "LRS"
}
variable "vm_size" {
description = "Specifies the size of the virtual machine."
default = "Standard_A0"
}
variable "image_publisher" {
description = "Name of the publisher of the image (az vm image list)"
default = "Canonical"
}
variable "image_offer" {
description = "Name of the offer (az vm image list)"
default = "UbuntuServer"
}
variable "image_sku" {
description = "Image SKU to apply (az vm image list)"
default = "16.04-LTS"
}
variable "image_version" {
description = "Version of the image to apply (az vm image list)"
default = "latest"
}
variable "admin_username" {
description = "Administrator user name"
default = "adminuser"
}
variable "admin_password" {
description = "Administrator password"
default = "Adminpassword123!"
}
variable "source_network" {
description = "Allow access from this network prefix. Defaults to '*'."
default = "*"
}