-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
114 lines (96 loc) · 2.49 KB
/
Copy pathvariables.tf
File metadata and controls
114 lines (96 loc) · 2.49 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
variable "resource_group_name" {
type = string
description = "Name of the Azure Resource Group."
default = "my-rg"
}
variable "location" {
type = string
description = "Azure region for resources."
default = "East US"
}
variable "vnet_name" {
type = string
description = "Name of the Virtual Network."
default = "my-vnet"
}
variable "vnet_address_space" {
type = list(string)
description = "Address space for the Virtual Network."
default = ["10.0.0.0/16"]
}
variable "subnet_name" {
type = string
description = "Name of the Subnet."
default = "my-subnet"
}
variable "subnet_address_prefixes" {
type = list(string)
description = "Address prefixes for the Subnet."
default = ["10.0.1.0/24"]
}
variable "nsg_name" {
type = string
description = "Name of the Network Security Group."
default = "my-nsg"
}
variable "lb_public_ip_name" {
type = string
description = "Name of the Public IP for the Load Balancer."
default = "lb-public-ip"
}
variable "lb_name" {
type = string
description = "Name of the Load Balancer."
default = "my-lb"
}
variable "lb_backend_name" {
type = string
description = "Name of the Load Balancer Backend Pool."
default = "lb-backend"
}
variable "lb_probe_name" {
type = string
description = "Name of the Load Balancer Health Probe."
default = "http-probe"
}
variable "lb_rule_name" {
type = string
description = "Name of the Load Balancer Rule."
default = "http-rule"
}
variable "lb_nat_rule_name" {
type = string
description = "Name of the Load Balancer NAT Rule for SSH."
default = "ssh-nat"
}
variable "avset_name" {
type = string
description = "Name of the Availability Set."
default = "my-avset"
}
variable "nic_name" {
type = string
description = "Name of the Network Interface."
default = "my-nic"
}
variable "vm_name" {
type = string
description = "Name of the Virtual Machine."
default = "my-vm"
}
variable "vm_size" {
type = string
description = "Size of the Virtual Machine."
default = "Standard_DS1_v2"
}
variable "admin_username" {
type = string
description = "Admin username for the VM."
default = "adminuser"
}
variable "admin_password" {
type = string
description = "Admin password for the VM."
sensitive = true
default = "Password1234!" # Use SSH keys in production
}