-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
60 lines (52 loc) · 1.61 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
# Required variables
variable "project_slug" {
type = string
nullable = false
description = "A slugified name, used to label AWS resources."
}
variable "route53_zone_id" {
type = string
nullable = false
description = "The Route 53 zone ID to create new DNS records within."
}
variable "ssh_public_key" {
type = string
nullable = false
description = "An SSH public key, to be installed on the server."
}
variable "subdomain_name" {
type = string
nullable = false
description = "The DNS subdomain name where the server will be available."
}
# Optional variables
variable "assetstore_bucket_name" {
type = string
nullable = true
default = null # Effective default is set internally
description = "The globally unique S3 bucket name of the assetstore."
}
variable "ec2_instance_type" {
type = string
nullable = false
default = "t3.medium"
description = "The EC2 instance type for the server."
}
variable "ec2_volume_size" {
type = number
nullable = false
default = 40
description = "The size, in GB, of the root EBS volume for the server."
}
variable "ec2_launch_ami_id" {
type = string
nullable = true
default = null # Effective default is set internally
description = "The AMI ID used to initially launch the server. Changing this will not replace an existing instance."
}
variable "extra_upload_origins" {
type = list(string)
nullable = false
default = []
description = "A list of extra CORS origins which are allowed to upload files, in addition to the server."
}