-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
60 lines (47 loc) · 1.08 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
variable "base_ami" {
description = "AMI for the base instance"
type = string
}
variable "ami_name" {
description = "Name for the AMI"
type = string
}
variable "instances" {
description = "List of instances to create"
type = list(object({
instance_type = string
subnet_index = number
user_data = string
}))
}
variable "instance_type" {
description = "Instance type for the base instance"
type = string
}
variable "user_data" {
description = "User data script for the base instance"
type = string
}
variable "lb_name" {
description = "Name of the application load balancer"
type = string
}
variable "tg_name" {
description = "Name of the target group"
type = string
}
variable "tags" {
description = "Common tags for all resources"
type = map(string)
}
variable "vpc_cidr" {
description = "CIDR block for the VPC"
type = string
}
variable "subnets" {
description = "List of subnets"
type = list(object({
cidr_block = string
availability_zone = string
}))
}