summaryrefslogtreecommitdiff
path: root/Terraform/Azure/Site-to-Site-BGP/variables.tf
blob: 806aa6ee941d033e6357f4891de1b34cba2b68a6 (plain)
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
107
108
109
110
111
112
113
# General Variables

variable "location" {
  description = "The region where all resources will deploy"
  default     = "LOCATION EXAMPLE: West Europe"
}

variable "resource_group" {
  description = "The name of your Azure Resource Group."
  default     = "<YOUR RESOURCE GROUP>"
}

variable "vm_size" {
  description = "Specifies the size of the virtual machine."
  default     = "Standard_B2s"
}

variable "tags" {
  description = "A map of tags to add to all resources"
  type        = map(string)
  default = {
    environment = "Test"
    project     = "VyOS sample VPN"
    owner       = "VyOS Networks"
    created-by  = "Terraform"
  }
}

variable "prefix" {
  default = "VPN-Instance"
}

variable "dns_1" {
  default = "8.8.8.8"
}

variable "dns_2" {
  default = "8.8.4.4"
}

# -----------------------------------------------------------------
# Variables related credentials
variable "admin_username" {
  description = "Administrator user name"
  default     = "vyos"
}

variable "admin_password" {
  description = "Administrator password"
  default     = "<ADMIN PASSWORD>"
}

# -----------------------------------------------------------------
# Variables related image selection

variable "image_publisher" {
  description = "Name of the publisher of the image (az vm image list)"
  default     = "sentriumsl"
}

variable "image_offer" {
  description = "Name of the offer (az vm image list)"
  default     = "vyos-1-2-lts-on-azure"
}

variable "image_sku" {
  description = "Image SKU to apply (az vm image list)"
  default     = "vyos-1-3"
}

variable "image_version" {
  description = "Version of the image to apply (az vm image list)"
  default     = "1.4.0"
}

# -----------------------------------------------------
# Variables related Virtual Networks

# VNet 01

variable "vnet_01_name" {
  description = "The name for your virtual network."
  default     = "Net-01"
}

variable "vnet_01_address_prefix" {
  description = "The address space that is used by the virtual network."
  default     = "10.1.0.0/16"
}

variable "vnet_01_priv_subnet_prefix" {
  description = "The address prefix to use for the subnet."
  default     = "10.1.1.0/24"
}

variable "vnet_01_pub_subnet_prefix" {
  description = "The address prefix to use for the subnet."
  default     = "10.1.11.0/24"
}

variable "vnet_01_bgp_as_number" {
  default = "65001"
}

# On Prem Data Center

variable "on_prem_bgp_as_number" {
  default = "65002"
}

variable "on_prem_public_ip_address" {
  default = "192.0.2.1"
}