-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvariables.tf
More file actions
83 lines (57 loc) · 1.26 KB
/
Copy pathvariables.tf
File metadata and controls
83 lines (57 loc) · 1.26 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
variable "region" {
default = "eu-west-2"
}
variable "vpc_cidr" {
default = "172.16.0.0/16"
}
variable "enable_dns_support" {
type = bool
}
variable "enable_dns_hostnames" {
type = bool
}
variable "enable_classiclink" {
type = bool
}
variable "enable_classiclink_dns_support" {
type = bool
}
# Declare a variable to store the desired number of public subnets, and set the default value
variable "preferred_number_of_public_subnets" {
type = number
}
# Declare a variable to store the desired number of public subnets, and set the default value
variable "preferred_number_of_private_subnets" {
type = number
}
variable "tags" {
description = "A mapping of tags to assign to all resources."
type = map(string)
default = {}
}
variable "name"{
type=string
}
variable "environment"{
type=string
}
variable "ami" {
type = string
description = "EC2 AMI for launch template and ASG"
}
variable "keypair" {
type = string
description = "Keypair for secure connections"
}
variable "account_no" {
type = number
description = "the account number"
}
variable "db-username" {
type = string
description = "RDS admin username"
}
variable "db-password" {
type = string
description = "RDS master password"
}