forked from chelto/ApiGateway-Fargate-Terraform-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
82 lines (64 loc) · 1.73 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
// Route 53 & ACM
variable "domain_name" {
type = string
description = "Existing domain record already setup in route53"
# default = "something.com"
}
variable "route53_subdomain" {
type = string
description = "subdomain name which API gateway will use for custom domain setup. Needs to match the ACM SSL"
# default = "example"
}
variable "domain_name_certificate_arn" {
type = string
description = "The ACM certificate ARN to use for the api gateway"
# default = "arn:aws:acm:eu-west-2:accountid:certificate/234234324342"
}
variable "region" {
type = string
default = "eu-west-2"
}
variable "name_prefix" {
type = string
description = "name prefix to give to all recources in project"
}
variable "vpc_id" {
type = string
description = "vpc id with 2 private subnets already existing"
# default = "vpc-12345678123213"
}
variable "command_args" {
type = list
description = "docker container command arguments"
# default = ["-example", "-example2"]
}
variable "controller_task_role_arn" {
type = string
description = "An custom task role to use for the jenkins controller (optional)"
default = null
}
variable "ecs_execution_role_arn" {
type = string
description = "An custom execution role to use as the ecs exection role (optional)"
default = null
}
variable "controller_port" {
type = number
default = 5000
}
variable "controller_cpu" {
type = number
default = 2048
}
variable "controller_memory" {
type = number
default = 4096
}
variable "default_tags" {
default = {
Terraform = "true"
Project = "sidecar"
}
description = "Additional resource tags"
type = map(string)
}