-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcoturn.tf
45 lines (37 loc) · 1.08 KB
/
coturn.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
variable "coturn_name" {
type = string
description = "The name of the Coturn instance."
default = "coturn"
}
variable "coturn_image" {
type = string
description = "The name of the image of the Coturn instance."
}
variable "coturn_flavor" {
type = string
description = "The name of the flavor of the Coturn instance."
}
variable "coturn_replicas" {
type = number
description = "The minimum number of available coturn at any time."
}
variable "coturn_domain_name" {
type = string
description = "The domain name for the Coturn instance"
}
variable "coturn_port" {
type = number
description = "The port on which the Coturn server shall be contacted"
}
variable "coturn_stun_user" {
type = string
description = "The username of the stun server of the Coturn instance."
}
variable "coturn_stun_pass" {
type = string
description = "The password of the stun server of the Coturn instance."
}
resource "openstack_networking_floatingip_v2" "coturn" {
pool = var.external_network
description = "coturn"
}