-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
125 lines (103 loc) · 3.5 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
117
118
119
120
121
122
123
124
125
variable "environment" {
type = string
description = "Deployment environment"
validation {
condition = contains(["staging", "prod"], var.environment)
error_message = "Valid value is one of the following: staging, prod."
}
}
variable "aws_region" {}
variable "aws_profile" {}
# vpc
variable "cidr_block" {}
variable "availability_zones" {}
# ecs
variable "app_image" {}
variable "app_port" {}
variable "fargate_cpu" {}
variable "fargate_memory" {}
# ecs role
variable "ecs_task_execution_role" {}
variable "ecs_task_role" {}
# redis
variable "redis_cluster_name" {}
variable "redis_node_type" {}
variable "redis_num_cache_nodes" {}
variable "redis_port" {}
# summarization ecs
variable "summarization_app_image_name" {}
# summarization v2 ecs
variable "summarization_v2_app_image_name" {}
# summarization v3 ecs
variable "summarization_v3_app_image_name" {}
# ngrams ecs
variable "ngrams_app_image_name" {}
# topicmodel ecs
variable "topicmodel_app_image_name" {}
# geolocations ecs
variable "geolocations_app_image_name" {}
# text extraction ecs
variable "textextraction_app_image_name" {}
# entry extraction ecs
variable "entryextraction_app_image_name" {}
# entry extraction llm ecs
variable "entryextraction_llm_app_image_name" {}
# cloudflare proxy server
variable "cloudflare_proxy_srv_app_image_name" {}
# db table
variable "db_table_name" {}
variable "db_table_callback_tracker" {}
# s3
variable "s3_bucketname_task_results" {}
# Model info
variable "classification_model_id" {}
variable "classification_model_version" {}
variable "geolocation_model_id" {}
variable "geolocation_model_version" {}
variable "reliability_model_id" {}
variable "reliability_model_version" {}
# reliability ecr image name
variable "ecr_image_reliability_name" {}
# ecs capacity
variable "text_extraction_fargate_cpu" {}
variable "text_extraction_fargate_memory" {}
variable "summarization_v2_fargate_cpu" {}
variable "summarization_v2_fargate_memory" {}
variable "summarization_v3_fargate_cpu" {}
variable "summarization_v3_fargate_memory" {}
variable "entry_extraction_fargate_cpu" {}
variable "entry_extraction_fargate_memory" {}
variable "entry_extraction_llm_fargate_cpu" {}
variable "entry_extraction_llm_fargate_memory" {}
variable "geolocations_fargate_cpu" {}
variable "geolocations_fargate_memory" {}
variable "ngrams_fargate_cpu" {}
variable "ngrams_fargate_memory" {}
variable "topicmodeling_fargate_cpu" {}
variable "topicmodeling_fargate_memory" {}
variable "cloudflare_proxy_srv_fargete_cpu" {}
variable "cloudflare_proxy_srv_fargate_memory" {}
# ecs task count
variable "text_extraction_task_count" {}
variable "entry_extraction_task_count" {}
variable "entry_extraction_llm_task_count" {}
variable "summarization_v3_task_count" {}
variable "geolocations_task_count" {}
variable "topicmodeling_task_count" {}
variable "cloudflare_proxy_srv_task_count" {}
# ecs task max and min
variable "textextraction_scaling_max_capacity" {}
variable "textextraction_scaling_min_capacity" {}
variable "topicmodel_scaling_max_capacity" {}
variable "topicmodel_scaling_min_capacity" {}
variable "entryextraction_scaling_max_capacity" {}
variable "entryextraction_scaling_min_capacity" {}
variable "entryextraction_llm_scaling_max_capacity" {}
variable "entryextraction_llm_scaling_min_capacity" {}
variable "summarization_v3_scaling_max_capacity" {}
variable "summarization_v3_scaling_min_capacity" {}
# llm models
variable "openai_main_model" {}
variable "openai_small_model" {}
variable "bedrock_main_model" {}
variable "bedrock_small_model" {}