-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
116 lines (101 loc) · 2.11 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 "prefix" {
description = "project prefix"
}
variable "project" {
description = "project name"
}
variable "contact" {
description = "email contact"
}
variable "db_name" {
description = "name of db"
}
variable "db_username" {
description = "username for RDS postgrase database"
}
variable "db_password" {
description = "password for RDS postgrase database"
}
variable "bastion_key_name" {
}
variable "ecr_image_api" {
description = "ECR Image for API"
}
variable "ecr_image_proxy" {
description = "ECR Image for API"
}
variable "django_secret_key" {
description = "Secret key for the Django app"
}
variable "admin" {
description = "admin name"
}
variable "admin_email" {
description = "Admin email"
}
variable "admin_password" {
description = "password for admin"
}
variable "dns_zone_name" {
description = "Domain name"
}
variable "subdomain" {
description = "Subdomain per environment"
type = map(string)
default = {
production = "api"
staging = "api.staging"
dev = "api.dev"
default = "api.dev"
}
}
variable "state_bucket" {
type = string
}
variable "region" {
description = "aws region"
type = string
# default = "us-east-1"
}
variable "bucket_name" {
}
variable "table_name" {
description = "The name of the DynamoDB table. Must be unique in this AWS account."
type = string
# default = "terraform-setup-tf-state-lock"
}
variable "common_tags" {
default = {
Environment = ""
Project = ""
Owner = ""
ManagedBy = "Terraform"
}
}
variable "cpu" {
description = "ECS Fargate task cpu"
default = 256
}
variable "memory" {
description = "ECS Fargate task cpu"
default = 512
}
variable "rds_storage" {
default = 5
description = "RDS storage"
}
variable "rds_instance" {
default = "db.t2.micro"
description = "RDS instance class"
}
variable "bastion_instance" {
default = "t2.micro"
description = "bastion host EC2 instance class"
}
variable "az_count" {
description = "numbero of availability zones"
default = 2
}
variable "vpc_cidr" {
default = "10.0.0.0/16"
}