-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
95 lines (80 loc) · 1.86 KB
/
variables.tf
File metadata and controls
95 lines (80 loc) · 1.86 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
variable "environment" {
description = "Environment name"
type = string
default = "dev"
}
variable "instance_count" {
description = "Number of instances"
type = number
default = 1
}
variable "vm_size" {
description = "VM size for Azure"
type = string
default = "Standard_B1s"
}
variable "vpc_cidr" {
description = "VPC CIDR"
type = string
default = "10.0.0.0/16"
}
variable "public_subnet_cidrs" {
description = "Public subnet CIDRs"
type = list(string)
default = ["10.0.1.0/24"]
}
variable "private_subnet_cidrs" {
description = "Private subnet CIDRs"
type = list(string)
default = ["10.0.2.0/24"]
}
variable "resource_group_name" {
description = "Azure resource group name"
type = string
default = "nginx-rg"
}
variable "location" {
description = "Azure location"
type = string
default = "East US"
}
variable "admin_ssh_key" {
description = "Admin SSH public key for VMs"
type = string
default = ""
}
variable "ssl_certificate_data" {
description = "SSL certificate data (base64 PFX)"
type = string
default = ""
}
variable "subscription_id" {
description = "Azure Subscription ID"
type = string
default = ""
}
variable "tenant_id" {
description = "Azure Tenant ID"
type = string
default = ""
}
variable "allowed_ips" {
description = "List of allowed IP addresses or CIDRs for inbound traffic"
type = list(string)
default = ["*"]
}
variable "ssl_certificate_password" {
description = "SSL certificate password"
type = string
default = ""
}
variable "admin_username" {
description = "Admin username for VMs"
type = string
default = "azureuser"
}
variable "tags" {
description = "Tags"
type = map(string)
default = {}
}