-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
106 lines (87 loc) · 2.8 KB
/
variables.tf
File metadata and controls
106 lines (87 loc) · 2.8 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
variable "aws_region" {
type = string
default = "us-west-1"
}
variable "ecs_task_execution_role_arn" {
type = string
description = "IAM role ARN to apply to running containers. Can be used to grant script access to AWS services (such as a database). Must match 'ecs_task_execution_role_name'."
}
variable "ecs_task_execution_role_name" {
type = string
description = "IAM role name to apply to running containers. Can be used to grant script access to AWS services (such as a database)."
}
variable "ecs_cluster_id" {
type = string
description = "Identifier of existing ECS cluster to deploy to."
}
variable "vpc_id" {
type = string
description = "Identier of existing VPC to deploy to."
}
variable "vpc_cidr" {
type = string
description = "CIDR for VPC."
}
variable "vpc_public_subnet_ids" {
type = list(string)
description = "VPC public subnet ids."
}
variable "vpc_database_subnet_ids" {
type = list(string)
description = "VPC database subnet ids."
}
variable "dns_subdomain" {
type = string
default = "script-runner"
description = "Subdomain to prefix to dns_zone_name. API will be served under this subdomain."
}
variable "dns_zone_id" {
type = string
description = "Identifier of the Route53 Hosted Zone for the parent domain of this instance of script-runner."
}
variable "auth_provider" {
type = string
description = "Auth provider to use for authentication/authorization. Supports 'auth0' and 'none'."
default = "auth0"
}
variable "auth0_domain" {
type = string
description = "Domain for Auth0 client used to authenticate users calling script-runner's API. Required if auth_provider is set to 'auth0'."
default = ""
}
variable "auth0_audience" {
type = string
description = "Audience for Auth0 client used to authenticate users calling script-runner's API. Required if auth_provider is set to 'auth0'."
default = ""
}
variable "auth0_client_id" {
type = string
description = "Identifier for Auth0 client used to authenticate users calling script-runner's API. Required if auth_provider is set to 'auth0'."
default = ""
}
# variable "lb_log_bucket" {
# type = string
# description = "S3 bucket to store Load Balancer access logs in."
# }
variable "stack_name" {
type = string
default = "script-runner"
description = "Prefix for names of resources created by terraform."
}
variable "worker_count" {
type = number
default = 1
description = "Number of worker container instances to run."
}
variable "server_count" {
type = number
default = 1
description = "Number of server container instances to run."
}
variable "image" {
type = string
}
variable "image_tag" {
type = string
default = "latest"
}