-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
116 lines (87 loc) · 2.27 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
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
115
116
variable "key-name" {
type = string
description = "The AWS key pair to use for resources."
}
variable "aws_profile" {
description = "The AWS profile to use for resources."
}
variable "ami" {
type = map(string)
description = "A map of AMIs."
default = {}
# type = "map"
}
variable "instance-type" {
description = "The instance type."
}
variable "region" {
description = "The AWS region."
}
variable "AZ" {}
variable "vpc_cidr" {}
variable "subnet_cidr_public" {
description = "Subnet CIDRs for public subnets (length must match configured availability_zones)"
}
variable "subnet_cidr_private" {
description = "Subnet CIDRs for private subnets (length must match configured availability_zones)"
}
variable "blog-bucket" {}
variable "s3-failover" {}
# data "aws_ami" "tf-ami" {
# most_recent = true
# owners = ["amazon"]
# filter {
# name = "name"
# values = ["amzn2-ami-kernel-5.10*"]
# }
# }
variable "ubuntu-ami" {
description = "The AMI to use for the instance."
}
variable "nat-ami" {
description = "The AMI to use for the NAT instance."
}
variable "S3hostedzoneID" {}
variable "S3websiteendpoint" {}
variable "domain_name" {
description = "The domain name for the website."
}
variable "subdomain_name" {
description = "The subdomain name for the website."
}
variable "awsAccount" {
description = "AWS Account ID"
}
variable "github_token" {
description = "Github token for Terraform Github provider"
}
variable "github_repository_name" {
description = "The name of the repository to use for uploading the RDS Endpoint."
}
############################
###### RDS VARIABLES #######
############################
variable "db_name" {
description = "The name of the database."
}
variable "db_identifier" {
description = "The identifier of the RDS instance."
}
variable "db_username" {
description = "The database username."
}
variable "db_instance_class" {
description = "The instance type to use."
}
variable "db_engine" {
description = "The database engine to use."
}
variable "db_engine_version" {
description = "The version of the database engine to use."
}
variable "db_password" {
description = "The database password."
}
variable "db_storage_size" {
description = "Database storage size in GB"
}