Newer
Older

Nuwan Rajika Kumarasiri
committed
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
variable "aws_access_key" {}
variable "aws_secret_key" {}
variable "aws_account_id" {
default = "265723766240"
}
variable "aws_region" {
default = "us-east-1" # test tier
}
variable "vpc_tags" {
type = map(string)
default = {
Name = "test-tier"
tier = "test"
}
}
# needs at least two subnets
variable "private_subnet_a_tags" {
type = map(string)
default = {
Name = "test-private-a"
tier = "test"
network = "private"
}
}
variable "private_subnet_b_tags" {
type = map(string)
default = {
Name = "test-private-b"
tier = "test"
network = "private"
}
}
variable "security_group" {
type = map(string)
default = {
tier = "test"
Name = "internal"
}
}
variable "image_name" {
default = "265723766240.dkr.ecr.us-east-1.amazonaws.com/enterprise-integrations/iics_secure_agent"
}
variable "container_name" {
default = "iics-secure-agent-test"
}
variable "container_network_mode" {
default = "awsvpc"
}
variable "container_app_port" {
type = list(string)
default = [7080, 7443, 5432]
}
# note that as per our licesning model each
# container would be an extran instance
variable "container_count" {
default = 1
}
variable "fargate_cpu" {
default = "4096" # 1 vCPU = 1024 CPU units
}
variable "fargate_memory" {
default = "4095" # in MiB
}
# ecs
variable "ecs_cluster_name" {
default = "iics-agent-cluster"
}
variable "ecs_cluster_tags" {
type = map(string)
default = {
Name = "iics-agent-cluster"
tier = "test"
}
}
variable "ecs_task_name" {
default = "iics-secure-agent-test"
}
variable "ecs_service_name" {
default = "iics-secure-agent-test"
}