This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
47 lines (38 loc) · 1.65 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
variable "vpc_id" {
type = string
}
variable "public_subnet_ids" {
type = list(string)
}
variable "ecs_cluster_name" {
type = string
description = "Name of ECS cluster"
}
variable "ecs_service" {
type = map(string)
description = "ECS service which manages task container instances. Accepts the following props: desired_count, name, container_port, container_name, target_group_arn, assign_public_ip"
}
variable "container_security_group" {
type = map(string)
description = "Security group of the ECS service which manages task container instances. Accepts the following props: ingress_from_port, ingress_to_port, ingress_security_group_id"
}
variable "ecs_task_definition" {
type = map(string)
description = "ECS task definitions are the VMs which our containers are executed on. Accepts the following props: cpu, memory, family, task_role_arn, execution_role_arn"
}
variable "container_definition" {
type = map(string)
description = "Container definitions are mappings to our Docker images. Accepts the following props: container_name, container_image, container_port, host_port, awslogs_region, awslogs_group"
}
variable "container_definition_env" {
type = list(map(string))
description = "Environment variables that our application needs in order to function."
}
variable "container_definition_secrets" {
type = list(map(string))
description = "Sensitive environment variables that our application needs in order to function. Values should be SSM ARNs"
}
variable "tags" {
type = map(string)
description = "Resource tags. Accepts the following props: Name, Environment, Description"
}