-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
110 lines (90 loc) · 2.28 KB
/
variables.tf
File metadata and controls
110 lines (90 loc) · 2.28 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
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
variable "aws_region" {
description = "The AWS region to deploy resources in"
type = string
default = "us-east-1"
}
variable "vpc_id" {
description = "ID of the VPC"
type = string
}
variable "public_subnet_ids" {
description = "List of subnet IDs for the ECS cluster"
type = list(string)
}
variable "db_cluster_identifier" {
description = "The identifier for the RDS cluster"
type = string
}
variable "postgres_host" {
description = "database host"
type = string
}
variable "database_name" {
description = "The name of the database to create"
type = string
}
variable "master_username" {
description = "The master username for the database"
type = string
}
variable "master_password" {
description = "The master password for the database"
type = string
sensitive = true
}
variable "ec2_ami" {
description = "The AMI ID for the EC2 instances"
type = string
}
variable "key_name" {
description = "The name of the key pair to use for EC2 instances"
type = string
}
variable "ecs_cluster_name" {
description = "The name of the ECS cluster"
type = string
}
variable "instance_type" {
description = "The instance type for the ECS instances"
type = string
default = "t2.small"
}
variable "min_size" {
description = "The minimum size of the ECS cluster"
type = number
default = 1
}
variable "max_size" {
description = "The maximum size of the ECS cluster"
type = number
default = 2
}
variable "desired_capacity" {
description = "The desired capacity of the ECS cluster"
type = number
default = 1
}
variable "task_definition_name" {
description = "The name of the ECS task definition"
type = string
}
variable "container_image" {
description = "The Docker image to use for the ECS task"
type = string
}
variable "ipfs_url" {
description = "The URL of the IPFS node"
type = string
}
variable "ethereum_url" {
description = "The URL of the Ethereum node"
type = string
}
variable "domain_name" {
description = "Domain name for the ALB and SSL certificate"
type = string
}
variable "route53_zone_id" {
description = "ID of the Route 53 hosted zone"
type = string
}