Skip to content

Commit 7cdb545

Browse files
HA + VMSS | Deploy load balancers with floating IP by default (#18)
Co-authored-by: natanelm <[email protected]>
1 parent 7818b18 commit 7cdb545

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

modules/high_availability_existing_vnet/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ module "example_module" {
5050
authentication_type = "Password"
5151
availability_type = "Availability Zone"
5252
enable_custom_metrics = true
53-
enable_floating_ip = false
53+
enable_floating_ip = true
5454
use_public_ip_prefix = false
5555
create_public_ip_prefix = false
5656
existing_public_ip_prefix_id = ""
@@ -117,7 +117,7 @@ module "example_module" {
117117
| **authentication_type** | Specifies whether a password authentication or SSH Public Key authentication should be used | string | "Password";<br />"SSH Public Key";<br /> |
118118
| **availability_type** | Specifies whether to deploy the solution based on Azure Availability Set or based on Azure Availability Zone | string | "Availability Zone";<br />"Availability Set";<br />**Default:** "Availability Zone" |
119119
| **enable_custom_metrics** | Indicates whether CloudGuard Metrics will be used for Cluster members monitoring | boolean | true;<br />false;<br />**Default:** true |
120-
| **enable_floating_ip** | Indicates whether the load balancers will be deployed with floating IP | boolean | true;<br />false;<br />**Default:** false |
120+
| **enable_floating_ip** | Indicates whether the load balancers will be deployed with floating IP | boolean | true;<br />false;<br />**Default:** true |
121121
| **use_public_ip_prefix** | Indicates whether the public IP resources will be deployed with public IP prefix | boolean | true;<br />false;<br />**Default:** false |
122122
| **create_public_ip_prefix** | Indicates whether the public IP prefix will be created or an existing one will be used | boolean | true;<br />false;<br />**Default:** false |
123123
| **existing_public_ip_prefix_id** | The existing public IP prefix resource ID | string | Existing public IP prefix resource ID<br /> |

modules/high_availability_existing_vnet/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ variable "enable_custom_metrics" {
272272
variable "enable_floating_ip" {
273273
description = "Indicates whether the load balancers will be deployed with floating IP."
274274
type = bool
275-
default = false
275+
default = true
276276
}
277277

278278
variable "use_public_ip_prefix" {

modules/high_availability_new_vnet/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module "example_module" {
5353
authentication_type = "Password"
5454
availability_type = "Availability Zone"
5555
enable_custom_metrics = true
56-
enable_floating_ip = false
56+
enable_floating_ip = true
5757
use_public_ip_prefix = false
5858
create_public_ip_prefix = false
5959
existing_public_ip_prefix_id = ""
@@ -118,7 +118,7 @@ module "example_module" {
118118
| **authentication_type** | Specifies whether a password authentication or SSH Public Key authentication should be used | string | "Password";<br />"SSH Public Key";<br /> |
119119
| **availability_type** | Specifies whether to deploy the solution based on Azure Availability Set or Azure Availability Zone | string | "Availability Zone";<br />"Availability Set";<br />**Default:** "Availability Zone" |
120120
| **enable_custom_metrics** | Indicates whether CloudGuard Metrics will be used for Cluster members monitoring | boolean | true;<br />false;<br />**Default:** true |
121-
| **enable_floating_ip** | Indicates whether the load balancers will be deployed with floating IP | boolean | true;<br />false;<br />**Default:** false |
121+
| **enable_floating_ip** | Indicates whether the load balancers will be deployed with floating IP | boolean | true;<br />false;<br />**Default:** true |
122122
| **use_public_ip_prefix** | Indicates whether the public IP resources will be deployed with public IP prefix | boolean | true;<br />false;<br />**Default:** false |
123123
| **create_public_ip_prefix** | Indicates whether the public IP prefix will be created or an existing one will be used | boolean | true;<br />false;<br />**Default:** false |
124124
| **existing_public_ip_prefix_id** | The existing public IP prefix resource ID | string | Existing public IP prefix resource ID<br />**Default:** "" |

modules/high_availability_new_vnet/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ variable "enable_custom_metrics" {
259259
variable "enable_floating_ip" {
260260
description = "Indicates whether the load balancers will be deployed with floating IP."
261261
type = bool
262-
default = false
262+
default = true
263263
}
264264

265265
variable "use_public_ip_prefix" {

modules/vmss_existing_vnet/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module "example_module" {
5858
frontend_load_distribution = "Default"
5959
backend_load_distribution = "Default"
6060
enable_custom_metrics = true
61-
enable_floating_ip = false
61+
enable_floating_ip = true
6262
use_public_ip_prefix = false
6363
create_public_ip_prefix = false
6464
existing_public_ip_prefix_id = ""
@@ -132,7 +132,7 @@ module "example_module" {
132132
| **backend_load_distribution** | The load balancing distribution method for the Internal Load Balancer | string | "Default" - None(5-tuple);<br/>"SourceIP" - ClientIP(2-tuple);<br/>"SourceIPProtocol" - ClientIP and protocol(3-tuple). |
133133
| **notification_email** | An email address to notify about scaling operations | string | Leave empty double quotes or enter a valid email address. |
134134
| **enable_custom_metrics** | Indicates whether Custom Metrics will be used for VMSS Scaling policy and VM monitoring | boolean | true;<br/>false.<br/>**Default:** true |
135-
| **enable_floating_ip** | Indicates whether the load balancers will be deployed with floating IP | boolean | true;<br/>false.<br/>**Default:** false |
135+
| **enable_floating_ip** | Indicates whether the load balancers will be deployed with floating IP | boolean | true;<br/>false.<br/>**Default:** true |
136136
| **use_public_ip_prefix** | Indicates whether the public IP resources will be deployed with public IP prefix. | boolean | true;<br/>false;<br/>**Default:** false |
137137
| **create_public_ip_prefix** | Indicates whether the public IP prefix will be created or an existing one will be used. | boolean | true;<br/>false;<br/>**Default:** false |
138138
| **existing_public_ip_prefix_id** | The existing public IP prefix resource ID. | string | Existing public IP prefix resource ID<br/>**Default:** "" |

modules/vmss_existing_vnet/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ variable "enable_custom_metrics" {
365365
variable "enable_floating_ip" {
366366
description = "Indicates whether the load balancers will be deployed with floating IP."
367367
type = bool
368-
default = false
368+
default = true
369369
}
370370

371371
variable "use_public_ip_prefix" {

modules/vmss_new_vnet/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ module "example_module" {
6262
frontend_load_distribution = "Default"
6363
backend_load_distribution = "Default"
6464
enable_custom_metrics = true
65-
enable_floating_ip = false
65+
enable_floating_ip = true
6666
use_public_ip_prefix = false
6767
create_public_ip_prefix = false
6868
existing_public_ip_prefix_id = ""
@@ -131,7 +131,7 @@ module "example_module" {
131131
| **backend_load_distribution** | The load balancing distribution method for the Internal Load Balancer | string | "Default" - None (5-tuple);<br />"SourceIP" - ClientIP (2-tuple);<br />"SourceIPProtocol" - ClientIP and protocol (3-tuple)<br /> |
132132
| **notification_email** | An email address to notify about scaling operations | string | Leave empty double quotes or enter a valid email address<br /> |
133133
| **enable_custom_metrics** | Indicates whether Custom Metrics will be used for VMSS Scaling policy and VM monitoring | boolean | true;<br />false;<br /> |
134-
| **enable_floating_ip** | Indicates whether the load balancers will be deployed with floating IP | boolean | true;<br />false;<br /> |
134+
| **enable_floating_ip** | Indicates whether the load balancers will be deployed with floating IP | boolean | true;<br />false;<br />**Default:** true |
135135
| **use_public_ip_prefix** | Indicates whether the public IP resources will be deployed with public IP prefix. | boolean | true;<br />false;<br />**Default:** false |
136136
| **create_public_ip_prefix** | Indicates whether the public IP prefix will be created or an existing one will be used. | boolean | true;<br />false;<br />**Default:** false |
137137
| **existing_public_ip_prefix_id** | The existing public IP prefix resource ID. | string | Existing public IP prefix resource ID<br />**Default:** "" |

modules/vmss_new_vnet/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ variable "enable_custom_metrics" {
354354
variable "enable_floating_ip" {
355355
description = "Indicates whether the load balancers will be deployed with floating IP."
356356
type = bool
357-
default = false
357+
default = true
358358
}
359359

360360
variable "use_public_ip_prefix" {

0 commit comments

Comments
 (0)