-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
63 lines (53 loc) · 1.62 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
variable "allowed_account_ids" {
type = list(string)
description = "Allowed AWS accounts"
}
variable "domain_name" {
type = string
description = "Jitsi public DNS"
}
variable "hosted_zone_id" {
type = string
description = "Jitsi public zone domaine"
}
variable "jitsi_images" {
description = "References to Jisti components Docker images. If you use the private registries deployed in this demo, the images must be prefixed by <AWS account id>.dkr.ecr.eu-west-1.amazonaws.com/jitsi-meet-mirror/"
type = object({
jicofo = string
jvb = string
prosody = string
web = string
})
default = {
jicofo = "jitsi/jicofo",
jvb = "jitsi/jvb",
prosody = "jitsi/prosody",
web = "jitsi/web",
}
}
variable "aws_region" {
type = string
description = "AWS region to use"
default = "eu-west-1"
}
variable "aws_availability_zones" {
type = list(string)
description = "AWS Availability zones to use"
default = ["eu-west-1a", "eu-west-1b"]
}
variable "vpc_cidr" {
description = "CIDR block of VPC."
default = "10.0.0.0/16"
}
variable "vpc_private_subnets" {
description = "CIDR block of VPC private subnets."
default = ["10.0.1.0/24", "10.0.2.0/24"]
}
variable "vpc_public_subnets" {
description = "CIDR block of VPC public subnets."
default = ["10.0.101.0/24", "10.0.102.0/24"]
}
variable "deploy_in_private_subnets" {
description = "When TRUE, will deploy Jitsi services in a private network, without public IPs. Additional costs for VPC endpoints are expected with a private network setup."
default = false
}