-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
46 lines (38 loc) · 1.22 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
# Common variables
variable "shared_secret" {
type = string
default = null
description = "Shared secret for the VPN connection. When left empty, a random secret is created and shared between GCP and OCI."
}
# GCP variables
variable "gcp_project_id" {
type = string
description = "Specifies the project ID of Google project the VPN will be located in"
}
variable "gcp_network_name" {
type = string
description = "Specifies the name of the VPC the VPN will be located in"
}
variable "gcp_vpn_region" {
type = string
description = "Specifies the GCP region the VPN will be located in"
}
variable "gcp_asn" {
type = number
description = "Specifies the ASN of GCP side of the BGP session"
default = 65516
}
# OCI
variable "oci_compartment_id" {
type = string
description = "OCID of the compartment where the VPN will be created"
}
variable "oci_drg_id" {
type = string
description = "OCID of the DRG (Dynamic Routing Gateway) where the VPN will be connected to"
}
variable "four_tunnels_redundancy" {
type = bool
default = false
description = "Whether to deploy four tunnels or not. When set to `false`, only two tunnels are established."
}