-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
78 lines (65 loc) · 1.58 KB
/
Copy pathvariables.tf
File metadata and controls
78 lines (65 loc) · 1.58 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
variable "aws_region" {
description = "AWS region"
type = string
}
variable "name_prefix" {
description = "Prefix for resource names"
type = string
}
variable "vpc_cidr" {
description = "CIDR block for the VPC"
type = string
}
#variable "vpc_name" {
# description = "VPC name"
# type = string
#}
variable "my_ip" {
description = "Admin IP"
type = string
sensitive = true
}
variable "instance_type" {
description = "Instance type"
type = string
}
variable "key_pair" {
description = "private key"
type = string
sensitive = true
}
variable "asg_min_size" {
description = "Minimum number of instances in ASG"
type = number
default = 1
}
variable "asg_max_size" {
description = "Maximum number of instances in ASG"
type = number
default = 4
}
variable "asg_desired_capacity" {
description = "Desired number of instances in ASG"
type = number
default = 2
}
variable "certificate_arn" {
description = "ARN of an ACM certificate for HTTPS listener. If null, HTTP-only."
type = string
default = null
}
variable "enable_deletion_protection" {
description = "Enable deletion protection on the ALB"
type = bool
default = false
}
variable "flow_logs_retention_days" {
description = "CloudWatch Logs retention in days for VPC Flow Logs"
type = number
default = 30
}
variable "alarm_arn" {
description = "ARN of an SNS topic for CloudWatch alarm notifications. If null, no notifications."
type = string
default = null
}